passthru.selfprivacy -> selfprivacy.passthru

This commit is contained in:
Alexander Tomokhov
2025-02-03 00:57:08 +04:00
parent 365e01a4e3
commit ee2e404eb8
9 changed files with 37 additions and 43 deletions

View File

@@ -16,7 +16,7 @@ let
];
is-auth-enabled = cfg.enableSso;
oauth-client-id = "forgejo";
auth-passthru = config.passthru.selfprivacy.auth;
auth-passthru = config.selfprivacy.passthru.auth;
oauth2-provider-name = auth-passthru.oauth2-provider-name;
redirect-uri =
"https://${cfg.subdomain}.${sp.domain}/user/oauth2/${oauth2-provider-name}/callback";