This is a "meta issue" to track what auth providers have an issue, where the token is not automatically refreshed
Verified working
Not verified:
As is:
Needs fix:
Related to: #1627, #1576, #1608, #927, #738
Help needed with:
a) Working out if this issue exists in each of the providers above
b) Comment on this issue if you find a unticked provider with their default expiry times
c) Working out if the auth client needs any extra code or configuration in the packages/src/authClients to refresh its token automatically when getToken is called, or if it is handled internally by the authClient (such as firebase)
How to reproduce
- Log into your RW app
- Wait for access token to expire (this will vary, based on your provider)
- Navigate to another page that needs auth to fetch data
Very important! You won't notice the issue if you refresh the page, but its decent way of validating if the token refresh is handled for us. If you refresh and find that you got logged out, it is an indication that the client probably does not auto refresh the accessToken.
This is a "meta issue" to track what auth providers have an issue, where the token is not automatically refreshed
Verified working
automagically refreshes the token, when getToken is called and the token is expired
needs client config. This needs to be configured by the user, not within RW.
Not verified:
As is:
Needs fix:
Auth) requires user configuration. Added to various docs
Needs fix, see comment [Tracking] Validate token refresh issue across providers #1636 (comment)
Related to: #1627, #1576, #1608, #927, #738
Help needed with:
a) Working out if this issue exists in each of the providers above
b) Comment on this issue if you find a unticked provider with their default expiry times
c) Working out if the auth client needs any extra code or configuration in the
packages/src/authClientsto refresh its token automatically whengetTokenis called, or if it is handled internally by the authClient (such as firebase)How to reproduce
Very important!You won't notice the issue if you refresh the page, but its decent way of validating if the token refresh is handled for us. If you refresh and find that you got logged out, it is an indication that the client probably does not auto refresh the accessToken.