oidc-client-ts
                                
                                
                                
                                    oidc-client-ts copied to clipboard
                            
                            
                            
                        Refresh Token issue with multiple tabs open
When a user has multiple tabs of an application open, and the refresh token is stored in either the session- or the local storage, both windows will try to use the refresh token at the same time.
This is an issue when the OIDC server uses refresh token rotation (which is a requirement to be able to store refresh tokens on the client), as whichever request goes through after the first will fail due to a deactivated refresh token.
The OIDC client should create a lock in the storage, so only one client does perform the refresh, while the other clients wait for the result of that client.
@DASPRiD Would be really cool if you can find some time in the next few weeks to fix this.
@DASPRiD and @pamapa I see several commits related to this issue, but it's also been pushed to milestone 2.0.6. Do we know what the state of this issue is, and whether it will be in 2.0.6?
The development process is driven by @DASPRiD , but currently on hold because he had no time to finish. The way to implement should be agreed on. See MR #434. Would be nice if this can be finished sometime this year...
Hi, just wondering what’s the status for this issue? It is a much needed feature.
the implementation stuck, there is a good starting point here in MR #434, but there are some review comments which must be resolved first...
Hi, just wondering what’s the status for this issue? It is a much needed feature.
The implementation stalled, see MR #434. Would be excellent if somebody would take up that...