-
Notifications
You must be signed in to change notification settings - Fork 143
feat: add Magic Login Modes (link or code with multiple formats) #1300
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
base: develop
Are you sure you want to change the base?
Conversation
d64dc48 to
b92af36
Compare
750c12c to
f2e3ec8
Compare
21e6d75 to
84ab8d9
Compare
sanchawebo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor thing: You have multiple calls to resolveMode() in the loginAction() method, which generates a new token everytime. This could lead to confusion about its usage in the future.
Otherwise looks good to me and would fix my issue #1261
|
@sanchawebo Thank you for your helpful review! |
Description
This update makes the Magic-Login system configurable without breaking backward compatibility. Now developers can choose between:
This flexibility lets you adapt authentication to your app’s needs, compliance rules, or user-experience preferences.
For the code-based flow, a new dedicated view is introduced to keep things clean and avoid conflicts with existing or customized views, ensuring backwards compatibility.
close : #1293
see : #1261
Checklist: