Skip to content

danangkonang/oauth2-golang

Repository files navigation

Oauth2 Golang Mysql

  • Mysql to store token

install

git clone https://github.com/danangkonang/oauth2-golang.git

cd oauth2-golang

go mod tidy

#database(optional)
docker-compose up -d

make up

go run main.go

response

{
  "access_token": "sDrk..",
  "token_type": "Bearer",
  "refresh_token": "jkudy8..",
  "expiry": 7195,
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages