This repository was archived by the owner on Mar 15, 2022. It is now read-only.
This repository was archived by the owner on Mar 15, 2022. It is now read-only.
Handling of refresh token on DRF #10
Open
Description
Hey Mahieyin,
Thanks for your efforts to the community!
I am wondering why are you handling refreshing of access token on DRF while we can easily do this with next-auth in [...nextauth].js file.
https://next-auth.js.org/tutorials/refresh-token-rotation
Current:
You are making a call to DRF to get a refresh token
Expected:
We are already receiving refresh token on the first request, why you are not utilizing it instead you are making it from DRF at line 76
const { access_token, refresh_token } = response.data;
Looking forward to your reply 😊
Metadata
Metadata
Assignees
Labels
No labels