fix: netbird redirect
This commit is contained in:
parent
ed69716f34
commit
69052846bf
|
@ -222,7 +222,10 @@ in
|
|||
systems.oauth2.netbird = {
|
||||
public = true;
|
||||
displayName = "Netbird";
|
||||
originUrl = "https://netbird.${config.secrets.secrets.global.domains.web}/#callback";
|
||||
originUrl = [
|
||||
"https://netbird.${config.secrets.secrets.global.domains.web}/peers"
|
||||
"https://netbird.${config.secrets.secrets.global.domains.web}/add-peers"
|
||||
];
|
||||
originLanding = "https://netbird.${config.secrets.secrets.global.domains.web}/";
|
||||
preferShortUsername = true;
|
||||
enableLocalhostRedirects = true;
|
||||
|
|
|
@ -44,6 +44,9 @@
|
|||
enableNginx = true;
|
||||
settings = {
|
||||
AUTH_AUTHORITY = "https://auth.${config.secrets.secrets.global.domains.web}/oauth2/openid/netbird";
|
||||
# Fix Kanidm not supporting fragmented URIs
|
||||
AUTH_REDIRECT_URI = "/peers";
|
||||
AUTH_SILENT_REDIRECT_URI = "/add-peers";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue