Skip to content

newline-sandbox/go-chi-jwtauth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go and chi JWT Authentication

This project demonstrates a JWT authentication flow with Go, chi and jwtauth.

Get Started

  1. Replace <jwt-secret> in main.go with a secret key that is private to you.

    Example:

    const Secret = "42a00d84-9914-4a77-b6bd-d2a9d09c6795"
  2. Install the dependencies:

    $ make install_deps
  3. Run the service:

    $ make run_service

Feel free to clone this project and build upon it!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published