Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

audience list #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

audience list #3

wants to merge 3 commits into from

Conversation

lelongg
Copy link

@lelongg lelongg commented May 9, 2019

Besides formatting, this commit handles aud claims containing and array instead of only a single value.
Formatting related commits are separate, it should ease review.

From https://tools.ietf.org/html/rfc7519

4.1.3. "aud" (Audience) Claim

In the general case, the "aud" value is an array of case-
sensitive strings, each containing a StringOrURI value. In the
special case when the JWT has one audience, the "aud" value MAY be a
single case-sensitive string containing a StringOrURI value.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant