Thanks for the feedback Justin. Do you have any specific wording?
Post by Justin RicherMike et al,
Overall, this document has some really great advice for people who have
chosen to use JWT in various situations. Itâs a needed draft and Iâd like
to see it go forward. I have some suggestions on how it can be improved.
In this draft, Iâd like to see some more discussion about privacy and
security issues around choosing JWTs to begin with. Namely, putting things
like subject identifiers and scope/permission information into the JWT
structure could potentially leak information about the end user to the
client, if the JWT isnât encrypted, and to multiple RSâs, if the JWT is
encrypted with a shared key. It basically amounts to âanyone who can read
the JWT can see whatâs in itâ, which on the one hand is obvious, but on the
other hand itâs not always considered by implementers. Since the audience
of an access token JWT is the RS and not the client, and the token is
opaque to the client, itâs easy to assume that the client *wonât* read the
token. However, that doesnât mean that it *canât* read the token. Itâs a
tradeoff in design space with other solutions.
Iâd also like to see a discussion on expiration and revocation of
self-contained JWT access tokens. Again, this is targeting the decision
space of whether or not a self-contained token is an appropriate solution
in the first place. If Iâm issuing JWTs that are completely self-contained,
I canât revoke them once theyâre on the wire. Yes, thatâs an acceptable
risk to many and thatâs fine â but I would like this document to encourage
that thought and discussion.
Thanks,
â Justin
The JWT BCP draft has been updated to describe the use of explicit typing
of JWTs as one of the ways to prevent confusion among different kinds of
JWTs. This is accomplished by including an explicit type for the JWT in
the âtypâ header parameter. For instance, the Security Event Token (SET)
specification <http://self-issued.info/?p=1709> now uses the â
application/secevent+jwtâ content type to explicitly type SETs.
- https://tools.ietf.org/html/draft-sheffer-oauth-jwt-bcp-01
- http://self-issued.info/docs/draft-sheffer-oauth-jwt-bcp-01.html
-- Mike
P.S. This notice was also posted at http://self-issued.info/?p=1714 and
_______________________________________________
OAuth mailing list
https://www.ietf.org/mailman/listinfo/oauth
_______________________________________________
OAuth mailing list
https://www.ietf.org/mailman/listinfo/oauth