Open
Description
It does not seem possible to authenticate with MFA using okta-auth-swift
and okta-oidc-ios
.
I'm able to get a sessionToken
after successfully verifying MFA with a passcode (using Google Authenticator), but then the subsequent call to OktaOidc.authenticate(withSessionToken:)
fails with the following error:
"Authorization Error: Unexpected response format while retrieving authorization code."
To replicate these steps:
- Clone
https://github.com/okta/samples-ios/tree/master/custom-sign-in
- Update Okta.plist
- Update Okta domain
- Run the app; notice you can "Sign In" but
stateManager
isnil
and error is set to message above.
I have the following settings configured: