aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/oidc_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/oidc_helper.c')
-rw-r--r--src/reclaim/oidc_helper.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c
index d0345108e..eab12db33 100644
--- a/src/reclaim/oidc_helper.c
+++ b/src/reclaim/oidc_helper.c
@@ -769,7 +769,7 @@ OIDC_access_token_parse (const char *token,
769 769
770/** 770/**
771 * Checks if a claim is implicitly requested through standard 771 * Checks if a claim is implicitly requested through standard
772 * scope(s) 772 * scope(s) or explicitly through non-standard scope.
773 * 773 *
774 * @param scopes the scopes which have been requested 774 * @param scopes the scopes which have been requested
775 * @param attr the attribute name to check 775 * @param attr the attribute name to check
@@ -832,6 +832,11 @@ OIDC_check_scopes_for_claim_request (const char*scopes,
832 } 832 }
833 } 833 }
834 834
835 } else if (0 == strcmp (attr, scope_variable))
836 {
837 /** attribute matches requested scope **/
838 GNUNET_free (scope_variables);
839 return GNUNET_YES;
835 } 840 }
836 scope_variable = strtok (NULL, delimiter); 841 scope_variable = strtok (NULL, delimiter);
837 } 842 }