Setuping NextAuth with Go Backend

If I am using NextAuth with Google login, how can I authenticate the user on a separate Go backend's API requests?
1 Reply
parapheen
parapheen16mo ago
I'd consider app to app authentication. Have a jwt token saved on the nextjs env which signs the requests to the go backend. And have a verification logic on your go backend.
Want results from more Discord servers?
Add your server