Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSO getProfile API returning code expired error #1087

Open
sampadab-verneek opened this issue Jul 25, 2024 · 0 comments
Open

SSO getProfile API returning code expired error #1087

sampadab-verneek opened this issue Jul 25, 2024 · 0 comments

Comments

@sampadab-verneek
Copy link

Whether you call the workos.sso.getProfileAndToken api with the code returned to the redirect url or the workos.sso.getProfile api with the accessToken after calling the workos.userManagement.authenticateWithCode with the same code that did not work before, you get

The code has expired or invalid

error. The same code works with the authenticateWithCode api, but does not work for the getProfile apis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant