summaryrefslogtreecommitdiff
path: root/src/reclaim
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-06 19:50:34 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-06 19:50:34 +0200
commit19fe8e8ff74a9639fc075f5d974a01a977e1196a (patch)
tree1988acadc6c1ae0fa55d22957d89e389576065d5 /src/reclaim
parent8c48060e129877767f58a8403deba8a4beaeea24 (diff)
-add supported claims
Diffstat (limited to 'src/reclaim')
-rw-r--r--src/reclaim/plugin_rest_openid_connect.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c
index db138c26b..0a6ed3b7f 100644
--- a/src/reclaim/plugin_rest_openid_connect.c
+++ b/src/reclaim/plugin_rest_openid_connect.c
@@ -2446,6 +2446,12 @@ oidc_config_endpoint (struct GNUNET_REST_RequestHandle *con_handle,
json_string ("openid"));
json_array_append_new (scopes,
json_string ("profile"));
+ json_array_append_new (scopes,
+ json_string ("email"));
+ json_array_append_new (scopes,
+ json_string ("address"));
+ json_array_append_new (scopes,
+ json_string ("phone"));
json_object_set_new (oidc_config,
"scopes_supported",
scopes);