Could anyone explain the use of access_token and id_token inside next auth?
Unanswered
Spectacled bear posted this in #help-forum
Spectacled bearOP
Hi, im working with next auth with my own custom backend now i want to send a request to backend upon successfull authorisation from google oauth. i was using id_token to send to backend, but on internet it is not recommended, they say to use access_token to access api but access_token is not in jwt format, how to decode the access_token?
2 Replies
@Spectacled bear Hi, im working with next auth with my own custom backend now i want to send a request to backend upon successfull authorisation from google oauth. i was using id_token to send to backend, but on internet it is not recommended, they say to use access_token to access api but access_token is not in jwt format, how to decode the access_token?
Northeast Congo Lion
If you use a custom backend you dont need to use next auth
Spectacled bearOP
i've to use it for some requirement