Coder Social home page Coder Social logo

Comments (6)

billinghamj avatar billinghamj commented on September 7, 2024

+1 there should be a way of decoding without verification

from java-jwt.

bennythomps avatar bennythomps commented on September 7, 2024

@mattblang all you should need is a Base64 decoder (many available) and break apart the three sections of the JWT, decode the middle, and you'll have your JSON payload.

from java-jwt.

kennycason avatar kennycason commented on September 7, 2024

Any chance of doing this supporting this in the JwtVerifier? I'd like to replace my Base64 checker on my end without having to have a special class for non secret jwt verification.

from java-jwt.

shumy avatar shumy commented on September 7, 2024

java-jwt should definitely have a phase of Header and Payload decode before Signature verification. The issuer is useful to search for the public key.

Although there are Base64 decoders that we can use, java-jwt will already decode, avoiding a redundant decode.

from java-jwt.

billinghamj avatar billinghamj commented on September 7, 2024

@arcseldon Why have you closed this?

from java-jwt.

hzalaz avatar hzalaz commented on September 7, 2024

We are planning on writing a library specifically for Android that only decodes the token. We closed the issue since it's already in our backlog along a rewrite of this library

from java-jwt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.