Hi! Right now we are using showSignInToGetTokens okta widget that handles the whole auth flow on our react web app. We need to add support for native electron app (to use the same login form) and need to send authorization code back to electron and to get access token from it. We saw that there is showSignInAndRedirect widget that can return authorization code in callback url . The problem is that even if we are getting authorization code in redirect callback url as query parameter we don’t know how to get code_verifier that we also need to provide to our electron app for getting token on /token url. Is there any solution for that?
Related topics
Post | Replies | Views | Activity | |
---|---|---|---|---|
Okta Sign-In Widget and React - /token endpoint returning 401 unauthorized | 2 | 4756 | September 23, 2020 | |
Sign-in Widget - Show Custom Errors Upon Render | 4 | 2376 | February 12, 2024 | |
OktaWidget with ReactJs code - Redirection Issue | 3 | 3000 | February 10, 2024 | |
Supplying original /authorize PKCE code_challenge and state to Okta Signin Widget | 2 | 3287 | February 8, 2024 | |
Authorization flow between front end and backend | 4 | 1427 | March 9, 2024 |