Skip to content

FusionAuth/fusionauth-example-go-jwt-microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FusionAuth golang microservices example

This code is an example of protecting golang microservices with JSON web tokens.

Read the blog post here: https://fusionauth.io/blog/2021/02/18/securing-golang-microservice/

To run

This assumes you already have go 1.15.8 installed and have cloned this repo.

In one terminal:

  • cd jwt_client
  • go get
  • go run main.go

In another terminal:

  • cd api_gateway
  • go get
  • go run main.go

In yet another terminal:

Original code by @krissnawat

About

Example of a golang API gateway with authorization using JWT

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages