nixos/oauth2_proxy: add oidc-issuer-url flag
This commit is contained in:
parent
0057749884
commit
87bbc5fbbe
|
@ -47,6 +47,7 @@ let
|
||||||
reverse-proxy = reverseProxy;
|
reverse-proxy = reverseProxy;
|
||||||
proxy-prefix = proxyPrefix;
|
proxy-prefix = proxyPrefix;
|
||||||
profile-url = profileURL;
|
profile-url = profileURL;
|
||||||
|
oidc-issuer-url = oidcIssuerUrl;
|
||||||
redeem-url = redeemURL;
|
redeem-url = redeemURL;
|
||||||
redirect-url = redirectURL;
|
redirect-url = redirectURL;
|
||||||
request-logging = requestLogging;
|
request-logging = requestLogging;
|
||||||
|
@ -131,6 +132,15 @@ in
|
||||||
example = "123456.apps.googleusercontent.com";
|
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 {
|
clientSecret = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user