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

[Bug] Duplicate or Unreachable code found inside JsonSerializerPrimitives and ConfigurationRetriever #2540

Open
2 of 14 tasks
Mayank-Soni-89 opened this issue Mar 27, 2024 · 1 comment

Comments

@Mayank-Soni-89
Copy link

Which version of Microsoft.IdentityModel are you using?
Note that to get help, you need to run the latest version.

Where is the issue?

  • M.IM.JsonWebTokens
  • M.IM.KeyVaultExtensions
  • M.IM.Logging
  • M.IM.ManagedKeyVaultSecurityKey
  • M.IM.Protocols
  • M.IM.Protocols.OpenIdConnect
  • M.IM.Protocols.SignedHttpRequest
  • M.IM.Protocols.WsFederation
  • M.IM.TestExtensions
  • M.IM.Tokens
  • M.IM.Tokens.Saml
  • M.IM.Validators
  • M.IM.Xml
  • S.IM.Tokens.Jwt
  • Other (please describe)

Is this a new or an existing app?

The app is in production and I have upgraded to a new version of Microsoft.IdentityModel.* and this code I used for work around for serialization issue and reported by security team.

Repro

var your = (code) => here;

Expected behavior
A clear and concise description of what you expected to happen (or code).
Duplicate code should not have to present.

Actual behavior
A clear and concise description of what happens, e.g. an exception is thrown, UI freezes.
Found duplicate code and cause the security alarm for that code.

Possible solution

Additional context / logs / screenshots / links to code

Add any other context about the problem here, such as logs and screenshots or links to code.
image
image

@Mayank-Soni-89 Mayank-Soni-89 changed the title [Bug] Deuplicate or Unreachable code found inside JsonSerializerPrimitives and ConfigurationRetriever [Bug] Duplicate or Unreachable code found inside JsonSerializerPrimitives and ConfigurationRetriever Mar 27, 2024
@brentschmaltz
Copy link
Member

@Mayank-Soni-89 we need some additional detail here.

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

No branches or pull requests

2 participants