Add PKCEAuthorizationFlow to NetBird
All checks were successful
Check flake / build-amd64-linux (push) Successful in 3m36s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 3m36s
This commit is contained in:
@ -29,7 +29,10 @@ in {
|
|||||||
domain = cfg.coordinatorDomain;
|
domain = cfg.coordinatorDomain;
|
||||||
enable = true;
|
enable = true;
|
||||||
enableNginx = true;
|
enableNginx = true;
|
||||||
dashboard.settings.AUTH_AUTHORITY = "https://auth.vimium.com/oauth2/openid/netbird";
|
dashboard.settings = {
|
||||||
|
AUTH_AUTHORITY = "https://auth.vimium.com/oauth2/openid/netbird";
|
||||||
|
NETBIRD_TOKEN_SOURCE = "accessToken";
|
||||||
|
};
|
||||||
management = rec {
|
management = rec {
|
||||||
disableAnonymousMetrics = true;
|
disableAnonymousMetrics = true;
|
||||||
dnsDomain = cfg.meshDomain;
|
dnsDomain = cfg.meshDomain;
|
||||||
@ -46,6 +49,10 @@ in {
|
|||||||
Secret._secret = config.age.secrets."passwords/services/coturn/static-auth-secret".path;
|
Secret._secret = config.age.secrets."passwords/services/coturn/static-auth-secret".path;
|
||||||
TimeBasedCredentials = true;
|
TimeBasedCredentials = true;
|
||||||
};
|
};
|
||||||
|
PKCEAuthorizationFlow.ProviderConfig = {
|
||||||
|
AuthorizationEndpoint = "https://auth.vimium.com/ui/oauth2";
|
||||||
|
TokenEndpoint = "https://auth.vimium.com/oauth2/token";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
singleAccountModeDomain = dnsDomain;
|
singleAccountModeDomain = dnsDomain;
|
||||||
turnDomain = config.services.coturn.realm;
|
turnDomain = config.services.coturn.realm;
|
||||||
|
Reference in New Issue
Block a user