Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array claim [3.0.1] #117

Closed
chadjaros opened this issue Dec 9, 2016 · 3 comments
Closed

Array claim [3.0.1] #117

chadjaros opened this issue Dec 9, 2016 · 3 comments

Comments

@chadjaros
Copy link

I'm trying to update from 2.1.0 to 3.0.1, but it seems like it's illegal to add a claim which consists of an array of values. Is this intentionally restricted, and is that restriction present in the RFC?

@chadjaros
Copy link
Author

From the RFC:

2. Terminology
...    
Claim Value [Page 5]
    The value portion of a claim representation.  A Claim Value can be
    any JSON value.

It seems that Arrays and Maps should be allowed parameters in JwtCreator#withClaim

@hzalaz
Copy link
Member

hzalaz commented Dec 9, 2016

@chadjaros it can be added. If you want a faster turnaround please submit a PR and we'll review and merge

@lbalmaceda
Copy link
Contributor

Available in version 3.1.0.

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

No branches or pull requests

3 participants