This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Is this the correct and secure way to connect Next.js + NextAuth with a Django Rest Framework API? #1343
Labels
question
Ask how to do something or how something works
Your question
I have been working on a Next.js app with a custom backend using Django Rest Framework, with the main focus on authentication with social platforms (Google, Github etc). My question is whether the way I am doing it is secure and will not cause security issues.
What are you trying to do
I am trying to make my Next.js app interact securely with a Django Rest Framework backend. Here's the flow I am wanting to use:
dj-rest-auth
anddjango-allauth
setup to handle social authentication.Reproduction
Here's the code for context:
index.tsx
api/auth/[...nextauth].ts
Feedback
Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.
The text was updated successfully, but these errors were encountered: