Comments (3)
Is there a direct relationship between iss
field and URL where issuer's jwks can be fetched? đ
Apparently not.
- with symmetric crypto, the key to verify is secret, it wouldn't be published anywhere.
- with asymmetric crypto, I found a few conventions but no standard.
- Some use
https://DOMAIN//.well-known/jwks.json
but not everyone. - I have a Keycloak-issued token with
"iss": "https://sso.redhat.com/auth/realms/redhat-external"
. Hitting that URL actually returns JSON with an apparently unrelated"public_key"
field and a hint"token-service": "https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect"
but that one is 404, the correct jwks url ishttps://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/certs
.
So possiblyprotocol/openid-connect/certs
is another convention of OIDC? Or maybe it's a sub-convention of specifically Keycloak? đ¤ˇââī¸
- Some use
from jwt-cli.
@cben Thanks for raising this issue. What are your thoughts on how we could add support for this?
For symmetric crypto, we could potentially add a --verify
flag that would prompt for the secret?
Thanks for the encouragement. I know it's a tiny script, but there have been some great PRs to this little repo and I'm still actively using it.
from jwt-cli.
Shout to @bharkreader for adding this! @cben Now you can just add --secret=yourSigningSecret
as an argument.
from jwt-cli.
Related Issues (7)
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 jwt-cli.