Skip to content

An example backend with GoLang that uses auth0 for authentication

License

Notifications You must be signed in to change notification settings

bmdavis419/golang-auth0-example

Repository files navigation

golang-auth0-example

An example backend with GoLang that uses auth0 for authentication

server setup

  1. Ensure you have air and task (https://youtu.be/Q7uh85_i0-M)
  2. Create an auth0 account (https://auth0.com/)
  3. Create a new api (https://auth0.com/docs/quickstart/backend/golang/01-authorization#create-a-middleware-to-validate-access-tokens)
  4. Setup app.env file with your credentials, follow app.env.example
  5. Run task dev

client setup

  1. Run cd web, npm install
  2. Setup a new client application in auth0 (https://auth0.com/docs/quickstart/spa/react/01-login#create-a-new-application)
  3. Fill in the web/.env file with your credentials, follow web/.env.example
  4. Run npm run dev

About

An example backend with GoLang that uses auth0 for authentication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published