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

Grant Access to original decoded JSON string (bypass jackson) #35

Closed
jeffsteinmetz opened this issue Jul 13, 2015 · 0 comments
Closed

Comments

@jeffsteinmetz
Copy link

I am using the java-jwt library in the Scala/Play Framework, which has JSON parsing baked in.

Is there a way to return the decoded token as the raw (JSON) string instead of the jackson Map[String,AnyRef]?

current implementation is:
val decoded: util.Map[String, AnyRef] = new jwt.JWTVerifier(secret, config.clientId).verify(token)

perhaps something like:

val decoded: String = new jwt.JWTVerifierJson(secret, config.clientId).verify(token)

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

1 participant