generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add typ
override to Jwt.sign()
#488
Comments
@nitro-neal this may be up your alley? |
yea good catch, we will need to update the sdks to accept and create these. I'll assign this to myself and knock these out in js and kt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In our KCC issuance work we have a couple of JWT's which need to have a JWS header
typ
of something other-than the default value of"JWT"
. Specifically, anaccess_token
JWT (here) needs the valueapplication/at+jwt
and also aproof.jwt
(here) needs the valueopenid4vci-proof+jwt
.We need a way, while generating a JWT (via the call
Jwt.sign()
right?) to override this value. For example, in web5-go we offer aType()
variadic parameter.The text was updated successfully, but these errors were encountered: