Skip to content
Build a Golang app with the Gin framework, and authenticate with Auth0 + JWT
Branch: master
Clone or download
Latest commit 58c1043 Apr 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
views ❇️ we're live Apr 19, 2018
.env.sample ❇️ we're live Apr 19, 2018
.gitignore ❇️ we're live Apr 19, 2018
LICENSE Create LICENSE Apr 19, 2018
README.md Update README.md Apr 28, 2018
main.go ❇️ we're live Apr 19, 2018

README.md

Build a Golang app with the Gin framework, and authenticate with Auth0 + JWT

This repo contains the code samples for the Build a Golang app with the Gin framework, and authenticate with Auth0 + JWT article.

Setup

  1. Update the main.go file with your Auth0 Credentials. Sign up for an account for free if you don't have one.
  2. Update the views/app.jsx file with your Auth0 Credentials.
  3. Add http://localhost:3000 to your Allowed Callback, and Allowed Logout URL's in your Auth0 Management Dashboard.
  4. Run mv .env.sample .env and update with valid credentials
  5. Source the environment variables - source .env
  6. Update dependencies go get
  7. Launch the application by running go run main.go
  8. Navigate to localhost:3000 to view the application

Author

Francis Sunday

License

This project is licensed under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.