aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/plugin_rest_openid_connect.c
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/plugin_rest_openid_connect.c
parent8c48060e129877767f58a8403deba8a4beaeea24 (diff)
downloadgnunet-19fe8e8ff74a9639fc075f5d974a01a977e1196a.tar.gz
gnunet-19fe8e8ff74a9639fc075f5d974a01a977e1196a.zip
-add supported claims
Diffstat (limited to 'src/reclaim/plugin_rest_openid_connect.c')
-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,
2446 json_string ("openid")); 2446 json_string ("openid"));
2447 json_array_append_new (scopes, 2447 json_array_append_new (scopes,
2448 json_string ("profile")); 2448 json_string ("profile"));
2449 json_array_append_new (scopes,
2450 json_string ("email"));
2451 json_array_append_new (scopes,
2452 json_string ("address"));
2453 json_array_append_new (scopes,
2454 json_string ("phone"));
2449 json_object_set_new (oidc_config, 2455 json_object_set_new (oidc_config,
2450 "scopes_supported", 2456 "scopes_supported",
2451 scopes); 2457 scopes);