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
when i login first time i get correct details in 'user' object from useAuth0 hook. but then if i do login with different credentials the 'user' object still gives details from previous login. though credentials that i get using getCredentials is giving correct data. i am even doing logout(clearSession) before doing second login.
ex. i log in with john@gmail.com i get details of jonh@gmail.com in 'user' object. then if i do login with tony@gmail.com the 'user' object still gives data for jonh@gmail.com instead of tony@gmail.com token from getCredentials() is getting updated though so when i decode the token it is showing tony@gmail.com but the 'user' object is still giving old details.
first login:
second login:
Reproduction
login with one credentials.
check user object
log in with another credentials.
check user object again. it is giving data of 1st credentials.
Additional context
No response
react-native-auth0 version
^3.1.0
React Native version
0.72.4
Expo version
No response
Platform
Android, iOS
Platform version(s)
iOS 17.0, android 12
The text was updated successfully, but these errors were encountered:
Checklist
Description
when i login first time i get correct details in 'user' object from useAuth0 hook. but then if i do login with different credentials the 'user' object still gives details from previous login. though credentials that i get using getCredentials is giving correct data. i am even doing logout(clearSession) before doing second login.
ex. i log in with john@gmail.com i get details of jonh@gmail.com in 'user' object. then if i do login with tony@gmail.com the 'user' object still gives data for jonh@gmail.com instead of tony@gmail.com token from getCredentials() is getting updated though so when i decode the token it is showing tony@gmail.com but the 'user' object is still giving old details.
first login:
second login:
Reproduction
Additional context
No response
react-native-auth0 version
^3.1.0
React Native version
0.72.4
Expo version
No response
Platform
Android, iOS
Platform version(s)
iOS 17.0, android 12
The text was updated successfully, but these errors were encountered: