1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

Merge pull request #303224 from 0z13/oauth2_proxy-add-issuer-url

nixos/oauth2_proxy: add oidc-issuer-url flag
This commit is contained in:
Sandro 2024-04-21 19:49:59 +02:00 committed by GitHub
commit a3739c2563
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,7 @@ let
reverse-proxy = reverseProxy;
proxy-prefix = proxyPrefix;
profile-url = profileURL;
oidc-issuer-url = oidcIssuerUrl;
redeem-url = redeemURL;
redirect-url = redirectURL;
request-logging = requestLogging;
@ -131,6 +132,15 @@ in
example = "123456.apps.googleusercontent.com";
};
oidcIssuerUrl = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
The OAuth issuer URL.
'';
example = "https://login.microsoftonline.com/{TENANT_ID}/v2.0";
};
clientSecret = mkOption {
type = types.nullOr types.str;
description = ''