Next.js Discord

Discord Forum

Could anyone explain the use of access_token and id_token inside next auth?

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
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