Sample ASP.NET Core 8.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
App Context Switches in Identity Model 7x are now documented here. By @kellyyangsong
Performance Improvements:
In .NET 6 or greater, use a temporary buffer to reduce intermediate allocation in VerifyRsa/VerifyECDsa. See PR #2589 for more details. By @eerhardt
Reduce allocations in ValidateSignature by using a collection expression instead of new List<SecurityKey> { key }, to optimize for the single element case. See PR #2586 for more details. By @eerhardt
Remove Task allocation in AadIssuerValidator. See PR #2584 for more details. By @eerhardt
7.5.1
Performance Improvements:
Use Base64.DecodeFromUtf8InPlace for base64 decode that saves 12% on token read time. Note that JsonWebToken no longer throws ArgumentOutOfRangeException and ArgumentException exceptions. See PR #2504. By @keegan-caruso.
SamlSecurityTokenHandler and Saml2SecurityTokenHandler now can fetch configuration when validating SAML issuer and signature. See PR #2412
JsonWebToken.ReadToken now correctly checks Dot3 index in JWE. See PR #2501
Engineering Excellence:
Remove reference to Microsoft.IdentityModel.Logging in Microsoft.IdentityModel.Protocols, which already depends on it via Microsoft.IdentityModel.Tokens. See PR #2508
Adjust uppercase json serialization tests to fix an unreliable test method, add consistency to naming. See PR #2512
Disable the 'restore' and 'build' steps of 'build and pack' in build.sh, improving speed. See PR #2521
7.4.0
New Features:
Introduced an injection point for external metadata management and adjusted the issuer Last Known Good (LKG) to maintain the state within the issuer validator. See PR #2480.
Made an internal virtual method public, enabling users to provide signature providers. See PR #2497.
App Context Switches in Identity Model 7x are now documented here.
Performance Improvements:
In .NET 6 or greater, use a temporary buffer to reduce intermediate allocation in VerifyRsa/VerifyECDsa. See PR #2589 for more details.
Reduce allocations in ValidateSignature by using a collection expression instead of new List<SecurityKey> { key }, to optimize for the single element case. See PR #2586 for more details.
Remove Task allocation in AadIssuerValidator. See PR #2584 for more details.
7.5.1
Performance Improvements:
Use Base64.DecodeFromUtf8InPlace for base64 decode that saves 12% on token read time. Note that JsonWebToken no longer throws ArgumentOutOfRangeException and ArgumentException exceptions. See PR #2504.
Contribution from @martinb69 to fix correct parsing of UserInfoEndpoint. See issue #2548 for details.
7.5.0
New features
Supports the 1.1 version of the Microsoft Entra ID Endpoint #2503
7.4.1
Bug Fixes:
SamlSecurityTokenHandler and Saml2SecurityTokenHandler now can fetch configuration when validating SAML issuer and signature. See PR #2412
JsonWebToken.ReadToken now correctly checks Dot3 index in JWE. See PR #2501
Engineering Excellence:
Remove reference to Microsoft.IdentityModel.Logging in Microsoft.IdentityModel.Protocols, which already depends on it via Microsoft.IdentityModel.Tokens. See PR #2508
Adjust uppercase json serialization tests to fix an unreliable test method, add consistency to naming. See PR #2512
Disable the 'restore' and 'build' steps of 'build and pack' in build.sh, improving speed. See PR #2521
7.4.0
New Features:
Introduced an injection point for external metadata management and adjusted the issuer Last Known Good (LKG) to maintain the state within the issuer validator. See PR #2480.
Made an internal virtual method public, enabling users to provide signature providers. See PR #2497.
Performance Improvements:
Added a new JsonWebToken constructor that accepts Memory for improved performance, along with enhancements to existing constructors. More information can be found in issue #2487 and in PR #2458.
Fundamentals:
... (truncated)
Commits
ea42b6b Remove byte[] allocation in VerifyRsa / VerifyECDsa (#2589)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps System.IdentityModel.Tokens.Jwt from 7.3.1 to 7.5.2.
Release notes
Sourced from System.IdentityModel.Tokens.Jwt's releases.
... (truncated)
Changelog
Sourced from System.IdentityModel.Tokens.Jwt's changelog.
... (truncated)
Commits
ea42b6b
Remove byte[] allocation in VerifyRsa / VerifyECDsa (#2589)c19f599
Fixing Onebranch signing issues (#2590)39329d8
Fix typo in log message (#2587)0974668
Remove Task allocation from AadIssuerValidator (#2584)4228935
Reduce Allocations in ValidateSignature (#2586)27166da
OneBranch Migration (#2571)28e8784
update changelog (#2580)d51c2ad
Verify authentication tag length (#2569)d353b5a
Adding comment (#2570)b352bcc
Conditionally targets NET 9 (#2561)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show