I have a DRF project using Simple-JWT for authentication. When a user logs in, they get a response containing the access and refresh tokens in the serializer.data
. However:
When testing on the Apis I can manually copy and paste these tokens and add them to headers when making requests. However in production,
- Where are these tokens stored on the user's side?
- How will the user be able to add the
access
token to requests that are protected? (they can't copy-paste like me) - How will they use the
refresh
token to renew theaccess
token.