Skip to content

suryaadi44/Go-MongoDB-JWT-Authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-MongoDB-JWT-Authentication

SImple Authentication Microservice using Go, user data and Blacklisted JWT are save in MongoDB database

Environment Variable Needed:

Variable Description
APP_NAME Current app name, not affecting front end, only used for logging
PORT Port which server will listen to, eg: 80
DB_URI MongoDB URI, eg: mongodb+srv://user:pass@localhost
DB_NAME Database name where collection is stored
JWT_SECRET Secret Passphrase for JWT Signing
PREFORK Prefork mode for fiber (true/false)

About

SImple Authentication Microservice using Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages