Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): add more options for sign-in uri generation #233

Merged

Conversation

xiaoyijun
Copy link
Collaborator

Summary

Add more options for sign-in uri generation in core sdk to align with other SDKs.

These options are used to generate query params in sign-in uri:

  • loginHint: login_hint
  • firstScreen: first_screen
  • identifier: identifier

The extraParams option is used to generate extra params in the sing-in uri.

The includeReservedScopes option is used to control if the reserved scopes (openid, offline_access and profile) is present in the sign-in uri.

Testing

UT and test locally.

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@xiaoyijun xiaoyijun requested a review from a team September 5, 2024 05:47
@xiaoyijun xiaoyijun self-assigned this Sep 5, 2024
@github-actions github-actions bot added feature Cool stuff size/m labels Sep 5, 2024
Base automatically changed from xiaoyijun-refactor-introduce-generate-sign-in-uri-options to master September 6, 2024 02:55
@xiaoyijun xiaoyijun force-pushed the xiaoyijun-feat-add-options-for-sign-in-uri-generation branch from 71816a4 to a4ffe2c Compare September 6, 2024 02:56
@xiaoyijun xiaoyijun merged commit ce2af37 into master Sep 6, 2024
3 checks passed
@xiaoyijun xiaoyijun deleted the xiaoyijun-feat-add-options-for-sign-in-uri-generation branch September 6, 2024 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants