oltu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OLTU-161) JWTClaimsSetParser fails when aud is an array
Date Tue, 07 Oct 2014 09:05:33 GMT

     [ https://issues.apache.org/jira/browse/OLTU-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simone Tripodi resolved OLTU-161.
---------------------------------
       Resolution: Fixed
    Fix Version/s: oauth2-1.0.1

Thanks a lot [~bodewig] for your kind help, much more than appreciated! I applied your patch
in r1629832 :)
All the best!

> JWTClaimsSetParser fails when aud is an array
> ---------------------------------------------
>
>                 Key: OLTU-161
>                 URL: https://issues.apache.org/jira/browse/OLTU-161
>             Project: Apache Oltu
>          Issue Type: Bug
>          Components: oauth2-jwt
>    Affects Versions: oauth2-1.0.0
>            Reporter: Stefan Bodewig
>            Assignee: Simone Tripodi
>             Fix For: oauth2-1.0.1
>
>         Attachments: oltu-161.patch
>
>
> JWTClaimsSetParser contains
> {code}
>         if (AUDIENCE.equals(key)) {
>             getBuilder().setClaimsSetAudience(String.valueOf(value));
> {code}
> which leads to something like {{"aud": "[Ljava.lang.Object;@34657d74"}} when the audience
provided by the server is a JSON array - which is the canonical representation and a single
string is only the exception according to http://openid.net/specs/openid-connect-core-1_0.html#IDToken



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message