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!: enhance SignIn functionality and optimize configuration options #134

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

xiaoyijun
Copy link
Collaborator

Summary

  • Add SignInOptions struct to support more login options
  • Refactor SignIn method to accept SignInOptions parameter
  • Add SignInWithRedirectUri method as a simplified version of SignIn
  • Add IncludeReservedScopes option to LogtoConfig
  • Expand constant definitions in core package, including query parameter keys and various login-related constants
  • Update GenerateSignInUri function to support new login options
  • Adjust test and sample code to accommodate new API

Testing

Test locally and all UTs passed

Checklist

- [ ] .changeset
- [ ] unit tests
- [ ] integration tests
- [ ] necessary TSDoc comments

@xiaoyijun xiaoyijun requested a review from a team September 6, 2024 09:33
@xiaoyijun xiaoyijun self-assigned this Sep 6, 2024
@xiaoyijun xiaoyijun merged commit b96374e into master Sep 18, 2024
3 checks passed
@xiaoyijun xiaoyijun deleted the xiaoyijun-log-9434-golang branch September 18, 2024 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants