Ten years of JSON Web Token and preparing for the future
self-issued.info
Ten years of JSON Web Token and preparing for the future
1–10 of 159 posts
Re: Ten years of JSON Web Token and preparing for the future
#2It's certainly a sign of something's utility and versatility, for sure. Congrats.
Re: Ten years of JSON Web Token and preparing for the future
#3Re: Ten years of JSON Web Token and preparing for the future
#4> It’s often said that one sign of a standard having succeeded is that it’s used for things that the inventors never imagined. It's certainly a sign of something's utility and versatility, for sure. Congrats.
Re: Ten years of JSON Web Token and preparing for the future
#5Re: Ten years of JSON Web Token and preparing for the future
#6Re: Ten years of JSON Web Token and preparing for the future
#7> It’s often said that one sign of a standard having succeeded is that it’s used for things that the inventors never imagined. It's certainly a sign of something's utility and versatility, for sure. Congrats.
If you go back and search hacker news for any article involving JWTs or OAuth you’ll find hundreds of comments of circular arguments over what a JWT is and is not. People never seem to be able to separate the two.
Re: Ten years of JSON Web Token and preparing for the future
#8Re: Ten years of JSON Web Token and preparing for the future
#9I love JWTs between servers. Between servers and clients, you just end up remaking cookies/sessions. Strictly my experience/opinion. Glad to hear from others.
JWTs on the other hand allow to be used across domain, so that you can use JWT issued by your IDP on one domain, to be trusted on another domain. crypto signature helps in verifying integrity of data.
sessions are usually tied to a single backend/application server. Its hard to reuse a session data across different apps.
JWTs on the other hand allow sharing session data across different app servers/microservices.
Re: Ten years of JSON Web Token and preparing for the future
#10I love JWTs between servers. Between servers and clients, you just end up remaking cookies/sessions. Strictly my experience/opinion. Glad to hear from others.
I have a web app that I'm doing sysops for which ended up with both. The web devs insisted on JWT and cough "forgot" about the auth bearer bit in the header because their API didn't use it. I ended up amending and recompiling an Apache module for that but to be fair, they will support it in the next version so I can revert my changes. A few db lookups in the Apache proxy JWT module I'm using and you have your claims.
On the front of that lot you have Apache session cookies generated when auth succeeds against a PrivacyIDEA instance - ie MFA.
I suppose we have cookies for authN and JWT for authZ. Cookies could do both and apart from session I'm not too familiar but it looks like claims would require multiple cookies where JWT does it all in one.