Skip to content

purwokertodev/go-oauth2-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAUTH2 example with GO, JWT-go and gorilla

Build Status

before get started, you have to know :

Get Started

after this step, you can do this:

  • go run main.go

try it with curl:

curl localhost:9000/token?grant_type=password -X POST -d "{"username": "wuriyanto", "password": "123456"}'

if you using windows:

curl localhost:9000/token?grant_type=password -X POST -d "{\"username\": \"wuriyanto\", \"password\": \"123456\"}'

To Do

  • Password Grant Type
  • Add Client Credentials Grant
  • Add new Code
  • Writing test

Copyright 2017 Wuriyanto Musobar

About

OAuth2 server example using Go

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages