-
Notifications
You must be signed in to change notification settings - Fork 18
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
Email OTP login with Okta mobile swift ‘OktaDirectAuth’ #186
Comments
@cesmejia In this case the For SMS verification you'd want to look at the OOB (aka "out-of-band") authentication factor, using the SMS OOB Channel. That should do what you want. If you want to test the workflow in your own environment, you can try the DirectAuth sample application. |
@cesmejia Email would be considered an OOB factor, similar to Phone, but it is not currently supported by the Direct Auth server APIs. As soon as support is introduced on the server however, those capabilities will be exposed in this SDK at that time. Please feel free to "watch" this project to be notified of upcoming releases. |
Describe the bug?
I'm working with the OktaDirectAuth library… I was wondering if this library supports entering en email opt code to log in ‘natively’ (without WebAuthenticationUI).
It looks like email does not count as OTP (and probably neither SMS), an email OTP never works but if you try Google authenticator or Okta verify, they work without any issues…
What is expected to happen?
Using OktaDirectAuth:
When getting an OTP via email (via factors/verify API), you should be able to log in.
What is the actual behavior?
I just tried using the Okta Authentication API to send a OTP via email ({{url}}/api/v1/users/{{userId}}/factors/{{factorId}}/verify). I’m getting the code but when I try to use that code on the Okta-mobile-swift OktaDirectAuth app it says the OTP is incorrect
Reproduction Steps?
Additional Information?
No response
SDK Version(s)
1.7.1
Build Information
No response
The text was updated successfully, but these errors were encountered: