-
Notifications
You must be signed in to change notification settings - Fork 32
New SD-JWT Encoding #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New SD-JWT Encoding #174
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SD-JWT-VC example looks good to me.
Co-authored-by: Kristina <[email protected]>
"sub": "6c5c0a49-b589-431d-bae7-219122a9ec2c", | ||
"given_name": "太郎", | ||
"family_name": "山田", | ||
"email": "\"unusual email address\"@日本.com", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"email": "\"unusual email address\"@日本.com", | |
"email": "\"unusual email address\"@nihon.com", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we replace it with another domain with multibyte characters? 日本.example.com?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no one uses such domains in Japan though..?
I think updated SD-JWT-VC is clean and nice. we should probably clarify in the text that it is not "compliant" with vc-data-model v1.1 and is "future-looking" in the light of v2.0 conversations. the Japanese address is legit and correct and is pretty close from where I lived. I suspect it is an address of a tokyo tower, but have not checked. tho "(@日本.com)" looked weird so I changed to nihon.com? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, Daniel!!
Link to editor's copy: https://drafts.oauth.net/oauth-selective-disclosure-jwt/danielfett/new-sd-jwt-encoding/draft-ietf-oauth-selective-disclosure-jwt.html
_sd
claim per level.@Sakurann I updated the W3C example since I had to adapt it to the new format. Also made some updates together with @tlodderstedt, please check.
@Sakurann I added an example with a Japanese address that was thankfully AI-generated by Github Copilot. I have no clue if it makes sense or not, please take a look!