Add Generic OAuth Provider (#138)

This commit is contained in:
Thom Seddon
2020-06-29 21:04:42 +01:00
committed by GitHub
parent 870724c994
commit 9e5994b959
7 changed files with 285 additions and 4 deletions

View File

@ -9,8 +9,9 @@ import (
// Providers contains all the implemented providers
type Providers struct {
Google Google `group:"Google Provider" namespace:"google" env-namespace:"GOOGLE"`
OIDC OIDC `group:"OIDC Provider" namespace:"oidc" env-namespace:"OIDC"`
Google Google `group:"Google Provider" namespace:"google" env-namespace:"GOOGLE"`
OIDC OIDC `group:"OIDC Provider" namespace:"oidc" env-namespace:"OIDC"`
GenericOAuth GenericOAuth `group:"Generic OAuth2 Provider" namespace:"generic-oauth" env-namespace:"GENERIC_OAUTH"`
}
// Provider is used to authenticate users