Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth0. getTokenSilently() functionality (update cached user profile silently) #979

Open
6 tasks done
XelNizar opened this issue Sep 24, 2024 · 0 comments
Open
6 tasks done
Labels
bug This points to a verified bug in the code

Comments

@XelNizar
Copy link

Checklist

Description

Is there is any way to do the same thing that getTokenSilently does?
in my case i want to update the userProfile cache in auth0 after any change to my custom database, but that FetchUserScript happens only after an actual authorization process. so in my case i want to be able to hit the authorize endpoint silently without letting the user do any interaction.
Doing a forceRefresh didnt fix the problem

Reproduction

  1. logged in user
  2. update user info in custom DB
  3. forceRefresh credentials
  4. will still have old user data unless you logout + log in back again

Additional context

No response

react-native-auth0 version

3.2.1

React Native version

0.74.5

Expo version

No response

Platform

iOS

Platform version(s)

17

@XelNizar XelNizar added the bug This points to a verified bug in the code label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

1 participant