
User1718088152450806880 (Customer) asked a question.
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

Hi @User1718088152450806880 (Customer) , thank you for contacting Okta Community!
I've reviewed our documentation for something relevant. It looks like your question is more appropriate for our dedicated Okta Developer Forum.
I advise reaching out via devforum.okta.com as they will have more insight into this topic.
You can also check out these posts from the Okta Developer Forum:
The authorization code is invalid or has expired
Authorisation code error
Getting Error: “invalid_grant”: “The client’s assurance requirements are not met.”
While we'll do our best to answer your questions here, this medium is more inclined towards Okta's core products and features (non-developer work).
Regards.
--
Join the Ask Me Anything online event on June 13, 2024 to discuss the new Govern Okta Admin Roles feature with our Experts