aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/plugin_rest_openid_connect.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-07 09:25:53 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-07 09:25:53 +0200
commit05004fd89f45d6e9bc4be81a34d340b1fb522196 (patch)
tree7ad48b687da01130ac3a7a3102da8ed063cad2e3 /src/reclaim/plugin_rest_openid_connect.c
parent7648cde6cfb181f03df9e145a576430220234f5f (diff)
downloadgnunet-05004fd89f45d6e9bc4be81a34d340b1fb522196.tar.gz
gnunet-05004fd89f45d6e9bc4be81a34d340b1fb522196.zip
-also allow non-standard scopes as claims
Diffstat (limited to 'src/reclaim/plugin_rest_openid_connect.c')
-rw-r--r--src/reclaim/plugin_rest_openid_connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c
index 6db494433..2f44917c9 100644
--- a/src/reclaim/plugin_rest_openid_connect.c
+++ b/src/reclaim/plugin_rest_openid_connect.c
@@ -1155,7 +1155,7 @@ attr_in_claims_request (struct RequestHandle *handle,
1155 const char *key; 1155 const char *key;
1156 json_t *value; 1156 json_t *value;
1157 1157
1158 /** Check if attribute is requested through standard scope **/ 1158 /** Check if attribute is requested through a scope **/
1159 if (GNUNET_YES == OIDC_check_scopes_for_claim_request (handle->oidc->scope, 1159 if (GNUNET_YES == OIDC_check_scopes_for_claim_request (handle->oidc->scope,
1160 attr_name)) 1160 attr_name))
1161 return GNUNET_YES; 1161 return GNUNET_YES;