command
module
Version:
v0.0.0-...-58c1043
Opens a new window with list of versions in this module.
Published: Apr 28, 2018
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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
- Update the
main.go
file with your Auth0 Credentials. Sign up for an account for free if you don't have one.
- Update the
views/app.jsx
file with your Auth0 Credentials.
- Add
http://localhost:3000
to your Allowed Callback, and Allowed Logout URL's in your Auth0 Management Dashboard.
- Run
mv .env.sample .env
and update with valid credentials
- Source the environment variables -
source .env
- Update dependencies
go get
- Launch the application by running
go run main.go
- 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.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.