a
This commit is contained in:
@@ -116,6 +116,8 @@ in
|
||||
inspect_endpoint = "/oauth2/openid/${oauthClientID}/userinfo";
|
||||
auth_endpoint = "/ui/oauth2";
|
||||
client_secret = "@replace_oauth_secret@";
|
||||
map_user_id = "preferred_username";
|
||||
scope = [ "openid" "email" "profile" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -162,9 +164,9 @@ in
|
||||
originUrl = "https://${cfg.subdomain}.${sp.domain}/oauth/callback/generic";
|
||||
clientSystemdUnits = [ "writefreely.service" ];
|
||||
enablePkce = false;
|
||||
scopeMaps = {
|
||||
"${usersGroup}" = [ "email" "openid" "profile" "read_user" ];
|
||||
};
|
||||
# scopeMaps = {
|
||||
# "${usersGroup}" = [ "email" "openid" "profile" "read_user" ];
|
||||
# };
|
||||
linuxUserOfClient = "writefreely";
|
||||
linuxGroupOfClient = "writefreely";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user