-
Notifications
You must be signed in to change notification settings - Fork 98
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
IDX11025: Cannot serialize object of type: 'System.Guid' into property: 'jti'. #737
Comments
@pedrollanesbenchmark Thanks for bringing this to our attention! I've opened an internal issue for tracking and prioritization OKTA-791311. We will work with Developer Support to address your support case and resolve this issue. |
This appears to be a duplicate of #682 |
No @bryanapellanes-okta , there is not the same case. The problem in my wrote issue is in class DefaultDpopProofJwtGenerator, and the solution in this solution is DefaultJwtGenerator.cs class, not the same. Thanks |
For more info: The Okta SDK use Microsoft Identity Model >= v6.35.0. If I then upgrade the version of that package to v7.1.2 I get the same error. |
Good morning @bryanapellanes-okta any news? |
Hey @pedrollanesbenchmark thanks for your follow-up. We have currently added this on to our priority list and we will prioritize this accordingly and we will get back to you once its added to our sprint scope for some concrete timelines. |
Describe the bug?
Excecption detail:
at Okta.Sdk.Client.DefaultDpopProofJwtGenerator.GenerateJwt(String nonce, String httpMethod, String uri, String accessToken)
at Okta.Sdk.Api.OAuthApi.d__18.MoveNext()
at Okta.Sdk.Api.OAuthApi.d__17.MoveNext()
at Okta.Sdk.Client.DefaultOAuthTokenProvider.d__15.MoveNext()
at Okta.Sdk.Client.DefaultOAuthTokenProvider.d__7.MoveNext()
at Okta.Sdk.Client.DefaultOAuthTokenProvider.d__12.MoveNext()
at Okta.Sdk.Api.UserApi.d__43.MoveNext()
at Okta.Sdk.Api.UserApi.d__42.MoveNext()
What is expected to happen?
it seems that DefaultDpopProofJwtGenerator need to make tostring when it set jti guid.
What is the actual behavior?
It crash
Reproduction Steps?
calling to UserApi
Additional Information?
JTI microsoft is string:
https://learn.microsoft.com/en-us/dotnet/api/system.identitymodel.tokens.jwt.jwtpayload.jti?view=msal-web-dotnet-latest#system-identitymodel-tokens-jwt-jwtpayload-jti
.NET Version
netcore8
SDK Version
8.0.1
OS version
BuildNumber Caption OSArchitecture Version
19045 Microsoft Windows 10 Enterprise 64-bit 10.0.19045
The text was updated successfully, but these errors were encountered: