Closed bdruth closed 3 years ago
Hi @bdruth, Apologies for late response.
Have you fixed the issue? What is your app configuration in Admin panel?
@oleggnidets-okta I have this issue, too.
Closing this issue to not keep duplicates across repos. Thanks for reporting!
Just trying to baseline get the custom-sign-in example working, after finding that the browser-sign-in flow is probably not going to meet my needs. browser-sign-in flow is working with my setup, and I can get the custom-sign-in flow to authenticate, but then it's unable to retrieve tokens and I'm not sure why?
The error that's pretty well buried is simply
Authorization Error: Unexpected response format while retrieving authorization code.
I've messed with switching the
issuer
URL (as well as theurlString
in theSignInViewController
) between"https://dev-xxxxxx.okta.com/oauth2/default"
and"https://dev-xxxxxx.okta.com/"
- no difference in behavior. ThestateManager
is nil when the callback foroidcClient.authenticate(withSessionToken:...)
is invoked.