No description
- Go 96.3%
- Dockerfile 3.7%
| .forgejo/workflows | platforms plural | |
| .gitignore | Initial commit | |
| Containerfile | Update golang Docker tag to v1.26.0 | |
| go.mod | add /token endpoint to generate an access token | |
| go.sum | add /token endpoint to generate an access token | |
| main.go | add /token endpoint to generate an access token | |
| README.md | a little more docs | |
| renovate.json | renovate: use central presets | |
| tokengenerator.go | address linter concerns | |
| user.go | misc fixes to make it work more like keycloak | |
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).