sbose78/mock-oauth

A mock oauth2 identity provider which always returns an affirmative, can be handy for running services which need to talk to an oauth server locally

★ 1Forks 1GoGitHub ↗Compare

README

Mock OAuth server

Implements the following endpoints with minimal validations

  • /auth endpoint
  • /token endpoint
  • /userinfo endpoint

How to run

# Description Command
1 Run cd ${current.project.path} && go get -d && go run main.go

Userinfo for a specific username

Set the env var username=some_username

Contributors

sbose78ddementieva

Issues