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

refresh tokens in the example #433

Open
benatkin opened this issue Feb 22, 2021 · 0 comments
Open

refresh tokens in the example #433

benatkin opened this issue Feb 22, 2021 · 0 comments

Comments

@benatkin
Copy link

I could be wrong, but I don't think calling netlifyIdentity.currentUser() is enough to refresh the tokens. That is what the React example is doing though.

I think calling await netlifyIdentity.currentUser?.jwt?() will, though.

Related to this: #117

Also how about making an authenticated API request in the example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant