-
Notifications
You must be signed in to change notification settings - Fork 45
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
How exactly shoud I get the new acces token in handleResponse function? #29
Comments
Here is my implementation that has been working great. Hopefully it helps. This is how I create the apollo "client". I then pass that to ApolloProvider.
|
@sturoid what url do you use for the refresh_token? |
The example in #29 (comment) has a security issue. Storing JWT tokens in localStorage can make a public app vulnerable to credential theft by XSS. |
I'm trying to extract the new token that is generated when the old one has expired. But when I try to access it, it is undefined:
how should I extract it?
The text was updated successfully, but these errors were encountered: