-
Notifications
You must be signed in to change notification settings - Fork 110
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
Use OTP grant for magic links [SDK-2576] #667
Conversation
code: passcode, | ||
audience: self.options.audience, | ||
scope: self.options.scope, | ||
parameters: self.options.parameters) |
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.
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.
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.
Is this class covered by tests? The one I could find is PasswordlessInteractorSpec
but not sure is the same. If already covered by tests, I'd expect a new test that checks the grant type (RO vs OTP) depending on the value passed for OIDC conformance. Otherwise, let me know and I'll review it again.
@lbalmaceda the class |
Changes
This PR uses the
http://auth0.com/oauth/grant-type/passwordless/otp
grant when performing passwordless login with magic links. It was previously using the deprecatedhttp://auth0.com/oauth/legacy/grant-type/ro
grant. It will still use that grant if the OIDC Conformant mode is not enabled.References
Fixes #664
Testing
This change has been tested manually using an iOS simulator.
Checklist