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

how give refresh token? #223

Open
eghbalpoorMH opened this issue Sep 23, 2020 · 1 comment
Open

how give refresh token? #223

eghbalpoorMH opened this issue Sep 23, 2020 · 1 comment

Comments

@eghbalpoorMH
Copy link

how can give refresh token for use when the access token expired?

@joelawm
Copy link

joelawm commented Sep 23, 2020

If done correctly the browser/client should send the token back to the django server and ask for the information that you want along with the token (or maybe just to vertify its good) if it's not then you should just call the user to relogin, I believe it should send an authentication error to your browser/client. Thats the basic structure your going to want to achieve, which is called a user load function.

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

2 participants