samples-ios
samples-ios copied to clipboard
Error Processing Request
Describe the bug?
I have modified okta.plist file of sample app with specific values, after launching app and providing proper credential it is showing error page on browser.
What is expected to happen?
It should land to dashboard screen with user logged-in.
What is the actual behavior?
after authentication it shows error on browser.
Reproduction Steps?
Below are the okta.plist file changes.

Additional Information?
No response
SDK Version(s)
I am using latest version of Okta native sample and Xcode Version is 13.2.1 (13C100).
Build Information
No response
@vinodshimpi Thanks for the post!
@mikenachbaur-okta Can you please help take a look?
Hi @vinodshimpi, are you sure you're using the Native sample, or the browser sample? From the looks of things, it would appear that your issuer URL may be incorrect. Can you confirm that the issuer, and other parameters, are correct?
Additionally, typical mobile applications utilize a custom URL Scheme for authorization in native applications, since ASWebAuthenticationSession observes the OIDC redirect flow and completes authorization once a redirect to your scheme is detected. Since your redirectUri
has an https
scheme, it wouldn't be able to properly detect when the authorization code redirect occurs.
Hi Mike, The issuer uri is correct and also Okta we see that the login attempt is success so actually in okta console we do not see any error but in application we are getting the error Message.
Hello Mike,
Do we have any update on this? Do you need any other details from our end?
Any Updates on this thread?