react-oauth2-pkce
react-oauth2-pkce copied to clipboard
Provider agnostic OAuth2 Authorization Code flow with PKCE for React
### Summary Scenario 1. The user has already logged in (has a cookie from the IDP) 2. The user need a new token with a different claim than the one...
## What does this pull request change? This commit changes the `login` function to be `logIn`. It also updates any related terminology in the docs or otherwise to match. ##...
Function names should be in the imperative form, which means they should be verbs. Since the verb for the action is a compound verb, it's two words: *log* and *in*....
### Summary I have a use case where to get the access token I need to send a custom header like `Authorization: basic `, and I cannot do that with...
- I have my web app running on domain 'xxx.com'. Earlier my login url was 'xxx.com:18080', therefore it had its own local and session storage. - Now my login url...
## Steps To Reproduce 1. Let the access token run out, but delete the refresh token server-side (and ensure it throws a 404 in that case) 2. Reload the website,...
Looks like a multi tab scenario is not fully supported. Please check the scenario: 1. Call `logIn()` on your web page. Here: - `loginInProgress` is set to `true`; - you...
Hello, I'd like to ask, when does the silent refresh happens? As far as I understand this is happening even when a tab is in the background or the user...
## What does this pull request change? This PR adds `TAuthConfig.stateFn`, a callback for generating a random state String. The appropriate documentation is also updated. ## Why is this pull...
A list of some things that can be done and included in a 2.0 release. Some are breaking, some are not. Most are up for discussion. - [ ] No...