I have multiple backends built with Python, Go, and Node.js, along with frontends in React and Next.js. How can I set up Auth0 to handle authentication and authorization across all of them?
Hi @code.24.100
Welcome to the Auth0 Community!
As a first step it is recommended that you each of your frontends as Applications and your backends as API services. In case the following topic can provide some useful information, I recommend reading through Architecture for Multiple frontends with one (or more) backend APIs .
Moving forward, your Application integrations should be setup using our dedicated SDKs for each of the technologies that you are using. Allow me to provide links to each SDK Repository or Documentation:
-
React applications:
GitHub - auth0/auth0-react: Auth0 SDK for React Single Page Applications (SPA) · GitHub;
Add Login to Your React Application - Auth0 Docs;
The Complete Guide to React User Authentication with Auth0. -
Next.js applications:
GitHub - auth0/nextjs-auth0: Next.js SDK for signing in with Auth0 · GitHub;
Add Login to Your Next.js Application - Auth0 Docs;
The Ultimate Guide to Next.js Authentication with Auth0. -
Python application:
GitHub - auth0/auth0-python: Auth0 SDK for Python · GitHub;
Python SDKs - Auth0 for AI Agents;
Flask API - Auth0 Docs. -
Go application:
https://github.com/auth0-samples/auth0-golang-web-app;
Go - Auth0 Docs;
Add Login to your Go Application - Auth0 Docs. -
Node.js application:
GitHub - auth0-samples/auth0-nodejs-webapp-sample: Auth0 Integration Samples for Node Web Applications · GitHub;
Node (Express) API: Authorization - Auth0 Docs;
The Complete Guide to Node.js User Authentication with Auth0
Hope this helped, please reach out to us for any other issues or requests!
Best regards,
Gerald