1
0
Fork
You've already forked noauth2
0
No description
  • Go 96.3%
  • Dockerfile 3.7%
2026年06月03日 01:26:52 -07:00
.forgejo/workflows platforms plural 2026年06月01日 15:42:54 -07:00
.gitignore Initial commit 2026年01月24日 18:39:05 -08:00
Containerfile Update golang Docker tag to v1.26.0 2026年02月15日 00:22:24 +00:00
go.mod add /token endpoint to generate an access token 2026年06月01日 19:41:49 -07:00
go.sum add /token endpoint to generate an access token 2026年06月01日 19:41:49 -07:00
main.go add /token endpoint to generate an access token 2026年06月01日 19:41:49 -07:00
README.md a little more docs 2026年03月14日 11:45:45 -07:00
renovate.json renovate: use central presets 2026年06月03日 01:26:52 -07:00
tokengenerator.go address linter concerns 2026年06月01日 19:49:30 -07:00
user.go misc fixes to make it work more like keycloak 2026年03月14日 11:13:26 -07:00

NoAuth2: an oauth2 server for local development

This is a lightweight wrapper around mockoidc. It listens on port 8080 by default, but is configurable via command line flag:

Usage of noauth2:
 -bind string
 	address and port to bind to (default ":8080")
 -hostname string
 	hostname (and port if needed) to use when generating URLs that should send the user's browser to this server.

Current supports a single, public OIDC client named dev. Always logs in as user "Jane Doe" with some mock details (see user.go).