Open pream1234 opened 1 month ago
Tokens cannot be issued until a user has successfully authenticated.
Can you please elaborate on this comment
generating access tokens for users during the login process
Secondly, can you please provide code snippets or a sample repo?
@jaredperreault-okta Thanks for the quick response .basically we are having react spa where we are using okta sign-in widget using interaction code flow . Once the user enter username and password on click of sign-in I’m getting “oautherror:pkce verification failed “
On click of refresh it login is successfully
Secondly, can you please provide code snippets or a sample repo?
@jaredperreault-okta Attaching Coding snippets which we are using
Is your onSuccess
handler firing? If so, what is the value of tokens
?
Optionally you could try showSignIn, rather than showSignInToGetTokens
Describe the bug
I'm having issue with generating access tokens for users during the login process. While trying to login, request to https:///oauth2//token is sent. Sometimes it results in 400 Bad Request
Reproduction Steps?
Whenever we open new incognito tab for first time we are getting this issue . After refresh it works fine
SDK Versions
Okta-signin widget 7.20.1 Okta-authjs:7.7.0
Additional Information?
No response