You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to force user logout when revoking a user, but it's impossible to identify the reason from const { error } = useAuth0. As error always shows [Error: An error occurred while trying to use the Refresh Token to renew the Credentials.] whenever refresh token fails, no matter it's caused by network issue or user is revoked.
Reproduction
Login and save credentials.
Revoke the refreshToken from auth0 dashboard.
Use getCredentials from useAuth0, or credentialsManager.getCredentials to get token when the existing accessToken expired.
The error will always show An error occurred while trying to use the Refresh Token to renew the Credentials.
Additional context
No response
react-native-auth0 version
3.1.0
React Native version
0.68.4
Expo version
No response
Platform
Android, iOS
Platform version(s)
Any
The text was updated successfully, but these errors were encountered:
Checklist
Description
We need to force user logout when revoking a user, but it's impossible to identify the reason from
const { error } = useAuth0
. Aserror
always shows[Error: An error occurred while trying to use the Refresh Token to renew the Credentials.]
whenever refresh token fails, no matter it's caused by network issue or user is revoked.Reproduction
getCredentials
fromuseAuth0
, orcredentialsManager.getCredentials
to get token when the existing accessToken expired.An error occurred while trying to use the Refresh Token to renew the Credentials
.Additional context
No response
react-native-auth0 version
3.1.0
React Native version
0.68.4
Expo version
No response
Platform
Android, iOS
Platform version(s)
Any
The text was updated successfully, but these errors were encountered: