Skip to content
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

Fix error #737 IDX11025: Cannot serialize object of type: 'System.Guid' into property: 'jti' #738

Conversation

pedrollanesbenchmark
Copy link

Summary

In Microsoft doc, jti is a 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
There is a problem when create a JWT because the Guid is not a string
image
I added ToString() to fix the problem.

#737
Fixes #

Type of PR

  • Bug Fix (non-breaking fixes to existing functionality)
  • New Feature (non-breaking changes that add new functionality)
  • Documentation update
  • Test Updates
  • Other (Please describe the type)

Test Information

  • My PR required test updates

.NET Version: netcore8
Os Version: Windows

Signoff

  • I have submitted a CLA for this PR
  • Each commit message explains what the commit does
  • I have updated documentation to explain what my PR does
  • My code is covered by tests if required
  • I checked StyleCop warnings on my code

@pedrollanesbenchmark pedrollanesbenchmark deleted the issue_737_jti_serializatoin branch August 8, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant