This repo contains the code samples for the Build a Golang app with the Gin framework, and authenticate with Auth0 + JWT article.
main.gofile with your Auth0 Credentials. Sign up for an account for free if you don't have one.
views/app.jsxfile with your Auth0 Credentials.
http://localhost:3000to your Allowed Callback, and Allowed Logout URL's in your Auth0 Management Dashboard.
mv .env.sample .envand update with valid credentials
go run main.go
localhost:3000to view the application
This project is licensed under the MIT license. See the LICENSE file for more info.