This commit is contained in:
2025-11-12 21:31:41 +03:00
parent 48a723aae1
commit 62352cd2a1

View File

@@ -117,7 +117,7 @@ in
auth_endpoint = "/ui/oauth2"; auth_endpoint = "/ui/oauth2";
client_secret = "@replace_oauth_secret@"; client_secret = "@replace_oauth_secret@";
map_user_id = "preferred_username"; map_user_id = "preferred_username";
scope = "openid,email,profile"; scope = "openid, email, profile";
}; };
}; };
}; };
@@ -164,9 +164,9 @@ in
originUrl = "https://${cfg.subdomain}.${sp.domain}/oauth/callback/generic"; originUrl = "https://${cfg.subdomain}.${sp.domain}/oauth/callback/generic";
clientSystemdUnits = [ "writefreely.service" ]; clientSystemdUnits = [ "writefreely.service" ];
enablePkce = false; enablePkce = false;
# scopeMaps = { scopeMaps = {
# "${usersGroup}" = [ "email" "openid" "profile" "read_user" ]; "${usersGroup}" = [ "email" "openid" "profile" "read_user" ];
# }; };
linuxUserOfClient = "writefreely"; linuxUserOfClient = "writefreely";
linuxGroupOfClient = "writefreely"; linuxGroupOfClient = "writefreely";
}; };