You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Patrick Gaskin a40c291fa1
Added build scripts
2 years ago
.gitignore Added build scripts 2 years ago
Makefile Added build scripts 2 years ago
README.md Implemented authorization code flow, fixed a bunch of bugs 2 years ago
go.mod Initial commit 2 years ago
go.sum Implemented authorization code flow, fixed a bunch of bugs 2 years ago
main.go Implemented authorization code flow, fixed a bunch of bugs 2 years ago
provider.go Implemented authorization code flow, fixed a bunch of bugs 2 years ago

README.md

loginsrv-oidc-provider

This is a simple implementation of the bare minimum required to support using loginsrv as a OIDC 1.0 provider.

The following specs are implemented:

Most environment variables are the same as loginsrv to allow sharing configurations. The only additional configuration required is LOGINSRVOIDC_JWT_SECRET (for signing the OIDC tokens, must be RS256), LOGINSRVOIDC_CLIENTS (for specifying client IDs and redirect URIs) and LOGINSRVOIDC_LOGINSRV (for specifying the base URL of loginsrv).

The token returned is a modified version of the one returned by loginsrv, and resigned with a key specific to loginsrv-oidc-provider.

Note that there is no authorization prompt, although only registered callback URIs will be used.