auth,forgejo: fix originLanding

This commit is contained in:
Alexander Tomokhov
2025-03-26 15:59:23 +04:00
parent 3f95b80c3c
commit 2ee27353da

View File

@@ -359,6 +359,8 @@ in
inherit adminsGroup usersGroup; inherit adminsGroup usersGroup;
subdomain = cfg.subdomain; subdomain = cfg.subdomain;
isTokenNeeded = true; isTokenNeeded = true;
originLanding =
"https://${cfg.subdomain}.${sp.domain}/user/login?redirect_to=%2f";
originUrl = redirect-uri; originUrl = redirect-uri;
clientSystemdUnits = [ "forgejo.service" ]; clientSystemdUnits = [ "forgejo.service" ];
enablePkce = false; # FIXME maybe Forgejo supports PKCE? enablePkce = false; # FIXME maybe Forgejo supports PKCE?