-
Notifications
You must be signed in to change notification settings - Fork 15
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
SD_JWT_TYP_HEADER is not set correctly #9
Comments
yes, SD_JWT_HEADER is provided as an internal class attribute for changing it it seems that you have to overload your own class and inherit a specialized SDJWTCommon class, or differently overload the specific attribute after having create a SDJWTIssuer object |
or better, @danielfett correct me if I'm wrong, it can be passed with the sd-jwt-python/src/sd_jwt/issuer.py Line 39 in 23f9d1d
sd-jwt-python/src/sd_jwt/issuer.py Line 175 in 23f9d1d
|
You are right. I had an old version as it seems. I did not have the extra_header_parameters field. |
This PR configures a new version as well |
Maybe I don't understand it. But in my use-case, I want to create a SDJWT.
I do it with the following code:
But this does not set the
SD_JWT_HEADER
field. How do I set it? Or is it a bug?The resulting sd-jwt is therefore missing the type field in the header.
The text was updated successfully, but these errors were encountered: