use go-oidc instead of verifying and extracting tokens ourselves, rename oidc_endpoint to oidc_issuer to be more inline with spec
This commit is contained in:
parent
0393ab524c
commit
c487591437
7 changed files with 69 additions and 185 deletions
|
@ -171,7 +171,7 @@ func getHeadscaleApp() (*headscale.Headscale, error) {
|
|||
|
||||
DNSConfig: GetDNSConfig(),
|
||||
|
||||
OIDCEndpoint: viper.GetString("oidc_endpoint"),
|
||||
OIDCIssuer: viper.GetString("oidc_issuer"),
|
||||
OIDCClientID: viper.GetString("oidc_client_id"),
|
||||
OIDCClientSecret: viper.GetString("oidc_client_secret"),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue