feat: oauth secret?
This commit is contained in:
parent
7a7ef55522
commit
5c406e75a9
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ let
|
||||||
domain = "immich.sprechtl.me";
|
domain = "immich.sprechtl.me";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
age.secrets.immich = {
|
age.secrets.immich-oauth-secret = {
|
||||||
file = ../../secrets/immich.age;
|
file = ../../secrets/immich.age;
|
||||||
owner = "immich";
|
owner = "immich";
|
||||||
group = "immich";
|
group = "immich";
|
||||||
|
|
@ -19,7 +19,7 @@ in
|
||||||
enabled = true;
|
enabled = true;
|
||||||
issuerUrl = "https://auth.sprechtl.me/application/o/immich/.well-known/openid-configuration";
|
issuerUrl = "https://auth.sprechtl.me/application/o/immich/.well-known/openid-configuration";
|
||||||
clientId = "EXMPaB2SoZYSSWu56ebB6CYV8W1hQS2eTwLdFBDw";
|
clientId = "EXMPaB2SoZYSSWu56ebB6CYV8W1hQS2eTwLdFBDw";
|
||||||
# clientSecret = ""; saved in secrets file
|
clientSecret._secret = config.age.secrets.immich-oauth-secret.path;
|
||||||
scope = "openid email profile";
|
scope = "openid email profile";
|
||||||
buttonText = "Login with Authentik";
|
buttonText = "Login with Authentik";
|
||||||
autoRegister = true;
|
autoRegister = true;
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue