Issue with Okta login on mobile app using WebView - Forgot Password -> Back -> Login -> Redirects to Okta home page Skip to main content
https://support.okta.com/help/answers?id=9062a000000bm5tqaq&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
kishore kirankishore kiran 

Issue with Okta login on mobile app using WebView - Forgot Password -> Back -> Login -> Redirects to Okta home page

1. OAuth URL which would be loaded in browser http://<appserver>/oauth2/login?provider=oktaOauth

2. Which we redirects to https://dev-891289.oktapreview.com/login/login.htm?fromURI=%2Foauth2%2Fv1%2Fauthorize%2Fredirect%3Fokta_key%3DDhReTVKIZ1CegMjbTZCcorbb0ogNylq4m6DDAg8uqck, which also contains callback url

3. Once proper user credentials are feed it should redirect back to http://<appserver>/oauth2/callback?code=<some code>&state=<some state>

4. Then we will capture code parameter and do rest of the procedure. But if we deviate this process and hit forgot password and then back button user is getting redirected to https://dev-891289.oktapreview.com/ where there is callback url and rest of things are lost and which is not adhering to OAuth protocol which is the reason OAuth process is not getting completed. We are releasing this in production in next 1-2 week.
Kyle AndersenKyle Andersen (Okta, Inc.)
Kishore,

As the issue you posted is specific to an implementation you're working with, I would recommend emailing developers@okta.com to ask for assistance in your specific use-case. They will be able to assist you in figuring out what issues may exist in your implementation.

Thank You,
Kyle Andersen
Okta Global Customer Care