java-jwt icon indicating copy to clipboard operation
java-jwt copied to clipboard

No way to extract complex set of claims

Open ensonik opened this issue 9 years ago • 1 comments

Using the library, there is no way for me get a handle on the data contained in a "complex" claim. For example, I can't read the following:

{ 
  user_metadata: {
     client_id: "abc"
  }
}

Using jwt.getClaim("user_metadata").asXXXXX returns null in all cases.

Being able to get a handle on the raw JSON could do the trick, but that doesn't seem possible either.

Suggestions?

ensonik avatar Dec 16 '16 13:12 ensonik

Will be available once #123 is merged and released

hzalaz avatar Dec 16 '16 13:12 hzalaz