<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language
0D54z0000A9l0SdCQIOkta Classic EngineSingle Sign-OnAnswered2024-06-12T22:25:15.000Z2024-06-11T07:20:53.000Z2024-06-12T22:25:15.000Z

Invalid code when accessing to the SP from end-user dashboard

Hello, I have implemented SSO for an app in order to authenticate using okta.

If I take the usual path of going first to the SP url and then initiating the log in flow everything works correctly, however, if I go to the end-user okta dashboard, click on the desired app, I get the error "This page isn’t working"

 

After investigating deeper, I found in my Vercel instance I was getting the following error:

 

OauthException: Error: invalid_grant

Error Description: The code 'X' has expired or is invalid.

 

 

Which means that when I try to access the app from the end-user dashboard at some point the code sent in the search param gets invalid.

 

Anyone faced the same issue before ?

 

Thank you


This question is closed.
Loading
Invalid code when accessing to the SP from end-user dashboard
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply