fix: add immich mobile redirect

This commit is contained in:
Patrick 2024-11-14 12:34:17 +01:00
parent 58e6dbc907
commit f6b34e3fe0
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -124,7 +124,10 @@ in
};
systems.oauth2.immich = {
displayName = "Immich";
originUrl = "https://immich.${config.secrets.secrets.global.domains.web}/auth/login";
originUrl = [
"https://immich.${config.secrets.secrets.global.domains.web}/auth/login"
"https://immich.${config.secrets.secrets.global.domains.web}/api/oauth/mobile-redirect"
];
originLanding = "https://immich.${config.secrets.secrets.global.domains.web}/";
basicSecretFile = config.age.secrets.oauth2-immich.path;
allowInsecureClientDisablePkce = true;