Can you use token from OAuth2 session to authenticate against your custom backend?
Unanswered
Spectacled Caiman posted this in #help-forum
Spectacled CaimanOP
Hi, so I have set up a working NextAuth example with a Github login.
But I cannot seem to understand how can I secure my API calls to my Java backend?
Should I send the github token with the requests? How can I validate that token in Spring? Is this even the right approach?
Can someone give me an insight how would you secure a frontend app with nextjs nextauth + a custom backend
But I cannot seem to understand how can I secure my API calls to my Java backend?
Should I send the github token with the requests? How can I validate that token in Spring? Is this even the right approach?
Can someone give me an insight how would you secure a frontend app with nextjs nextauth + a custom backend