Comments (6)
+1 there should be a way of decoding without verification
from java-jwt.
@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.
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.
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.
@arcseldon Why have you closed this?
from java-jwt.
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)
- Published license identifier is not compliant with the SPDX license list HOT 2
- com.auth0.jwt.exceptions.JWTDecodeException: The input is not a valid base 64 encoded string. HOT 6
- Allow configuration of Jackson ObjectMapper HOT 2
- token is still alive, when "exp" = NOW HOT 2
- Support for the absence of payload HOT 4
- Add Support for the EdDSA Signatures HOT 2
- Support for PS256 algorithm HOT 2
- Integrating java-jwt into OSS-Fuzz HOT 2
- Aud with empty string returns empty List HOT 7
- Allow using custom ObjectMapper for JWTParser HOT 2
- Does the lib have a feature to create jwt token from pem file? HOT 1
- From 3.19.4 to 4.4.0: IncorrectClaimException on verify() HOT 5
- KeyProvider-style API for signature schemes (HMAC) HOT 2
- NullPointerException when checking empty audience HOT 2
- Javadoc contains dead links to readme HOT 1
- JwkProviderBuilder doesn't allow us to load jwks from a file. Instead the only option available is to load it via a URL. HOT 1
- IncorrectClaimException
- Invalid Token: The token can't be used before 2024-04-29T04:27:39Z
- Wrong algorithm name matching between JWT and Algorithm HOT 1
- It is suspected that the interface definition is incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-jwt.