samples-ios icon indicating copy to clipboard operation
samples-ios copied to clipboard

Error Processing Request

Open vinodshimpi opened this issue 2 years ago • 5 comments

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.

IMG_5A09D56001CE-1

Reproduction Steps?

Below are the okta.plist file changes.

Screenshot 2022-04-05 at 9 53 35 AM

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 avatar Apr 05 '22 04:04 vinodshimpi

@vinodshimpi Thanks for the post!

@mikenachbaur-okta Can you please help take a look?

arvindkrishnakumar-okta avatar Apr 05 '22 15:04 arvindkrishnakumar-okta

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.

mikenachbaur-okta avatar Apr 06 '22 19:04 mikenachbaur-okta

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.

Nimesh231126 avatar Apr 08 '22 09:04 Nimesh231126

Hello Mike,

Do we have any update on this? Do you need any other details from our end?

vinodshimpi avatar Apr 18 '22 13:04 vinodshimpi

Any Updates on this thread?

vinodshimpi avatar May 27 '22 10:05 vinodshimpi