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

ABANDONED-RENOVATE chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 #790

Conversation

marvin-serp-bot
Copy link
Contributor

@marvin-serp-bot marvin-serp-bot commented Aug 12, 2024

This PR contains the following updates:

Package Type Update Change
Duende.AccessTokenManagement.OpenIdConnect nuget major 2.0.3 -> 3.0.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

DuendeSoftware/Duende.AccessTokenManagement (Duende.AccessTokenManagement.OpenIdConnect)

v3.0.0

Compare Source

This is a major release of Duende.AccessTokenManagement and Duende.AccessTokenManagement.OpenIdConnect. Highlights include

  • Improved support for Blazor Server
  • Updates to dependencies
  • Bug fixes and improvements

Breaking Changes

  • Support for .NET 6 and 7 has been dropped, as Microsoft either no longer supports or soon will no longer support those versions in the coming months. Duende.AccessTokenManagement Version 2.1 (which supports .NET 6 and 7) will continue to be supported until .NET 6 reaches end of life in November.
  • The OpenIdConnectUserAccessTokenHandler no longer depends on HttpContext, and instead depends on the new IUserAccessor interface. This change allows us to use the handler in Blazor Server projects. If you have customized the handler in a derived class, update your derived class's constructor to depend on the IUserAccessor and pass that to the handler's constructor. You probably don't need to implement IUserAccessor - the default implementation of the IUserAccessor is registered automatically and accesses the current user from the HttpContext, and a blazor server specific implementation is also available.
  • The OpenIdConnectUserAccessTokenHandler also now takes a direct dependency on the IUserTokenManagementService, rather than resolving it from the HttpContext. Again, if you have customized the handler in a derived class, you'll need to update constructors.

Blazor Server Support

This release improves our support for Blazor Server. We've added a new method to use when registering services: AddBlazorServerAccessTokenManagement. This method sets up dependencies needed specifically in a Blazor Server environment, including retrieving the current user without using HttpContext when it is not available. This simplifies creating HttpClients that use the current user's access token.

Blazor Server implementations have always required a server side token store (an implementation of ITokenStore). You should pass your implementation of ITokenStore to AddBlazorServerAccessTokenManagement's type parameter.

We've also exposed the logic related to storage of tokens in an AuthenticationTicket as a new service.

Dependencies

  • We now depend on:
    • version 7.0.0 or later of IdentityModel
    • version 8.0.1 or later of the ASP.NET OpenIdConnect Authentication Handler (Microsoft.AspNetCore.Authentication.OpenIdConnect)
    • version 7.1.2 or later of the Microsoft JWT Handler (System.IdentityModel.Tokens.Jwt)

Our approach for dependencies is to depend on the minimum patch version that accomplishes
the following:

  • Avoid depending on a version of a package that has a known security vulnerability
  • Avoid depending on a version that has a transitive dependency on a version of a package that has a known vulnerability
  • Depend on the same version of the Microsoft JWT handler as the ASP.NET OpenIdConnect Authentication Handler

Full Changelog

Blazor Support
Bugs and Improvements
Dependencies
Dependabot

New Contributors

Full Changelog: DuendeSoftware/Duende.AccessTokenManagement@2.1.2...3.0.0

v2.1.2

Compare Source

This is a patch release that fixes a bug when using DPoP and Resource Indicators together.

What's Changed

Full Changelog: DuendeSoftware/Duende.AccessTokenManagement@2.1.1...2.1.2

v2.1.1

Compare Source

This is a patch release that fixes a DPoP bug and updates our dependency on ASP.NET framework packages.

What's Changed

Full Changelog: DuendeSoftware/Duende.AccessTokenManagement@2.1.0...2.1.1

v2.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: DuendeSoftware/Duende.AccessTokenManagement@2.0.3...2.1.0


Configuration

📅 Schedule: Branch creation - "anytime" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copy link

✒️ PR Title Commitlint - ✔️ Lint success!

@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed Aug 14, 2024
@marvin-serp-bot marvin-serp-bot deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 14, 2024 20:05
@marvin-serp-bot marvin-serp-bot restored the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 15, 2024 04:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 Aug 15, 2024
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed Aug 17, 2024
@marvin-serp-bot marvin-serp-bot deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 17, 2024 08:06
@marvin-serp-bot marvin-serp-bot restored the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 17, 2024 09:05
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 Aug 17, 2024
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed Aug 18, 2024
@marvin-serp-bot marvin-serp-bot deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 18, 2024 10:04
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 Aug 18, 2024
@marvin-serp-bot marvin-serp-bot restored the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 18, 2024 11:05
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed Aug 22, 2024
@marvin-serp-bot marvin-serp-bot deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 22, 2024 08:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 Aug 22, 2024
@marvin-serp-bot marvin-serp-bot restored the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 22, 2024 09:05
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed Aug 22, 2024
@marvin-serp-bot marvin-serp-bot deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 22, 2024 11:06
@marvin-serp-bot marvin-serp-bot restored the renovate/duende.accesstokenmanagement.openidconnect-3.x branch August 22, 2024 12:07
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed Sep 27, 2024
@marvin-serp-bot marvin-serp-bot deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch September 27, 2024 20:05
@marvin-serp-bot marvin-serp-bot restored the renovate/duende.accesstokenmanagement.openidconnect-3.x branch September 27, 2024 23:05
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 Sep 27, 2024
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed Oct 2, 2024
@marvin-serp-bot marvin-serp-bot deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch October 2, 2024 10:06
@marvin-serp-bot marvin-serp-bot restored the renovate/duende.accesstokenmanagement.openidconnect-3.x branch October 2, 2024 11:04
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 Oct 2, 2024
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed Oct 3, 2024
@marvin-serp-bot marvin-serp-bot deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch October 3, 2024 06:07
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 Oct 3, 2024
@marvin-serp-bot marvin-serp-bot restored the renovate/duende.accesstokenmanagement.openidconnect-3.x branch October 3, 2024 07:06
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed Oct 7, 2024
@marvin-serp-bot marvin-serp-bot deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch October 7, 2024 09:05
@marvin-serp-bot marvin-serp-bot changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 - autoclosed chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 Oct 7, 2024
@marvin-serp-bot marvin-serp-bot restored the renovate/duende.accesstokenmanagement.openidconnect-3.x branch October 7, 2024 10:06
@marvin-serp-bot marvin-serp-bot force-pushed the renovate/duende.accesstokenmanagement.openidconnect-3.x branch from 3990ce3 to 68b618d Compare October 8, 2024 14:32
@JossWhittle JossWhittle closed this Oct 8, 2024
@JossWhittle JossWhittle deleted the renovate/duende.accesstokenmanagement.openidconnect-3.x branch October 8, 2024 16:14
@marvin-serp-bot
Copy link
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@JossWhittle JossWhittle changed the title chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 ABANDONED-RENOVATE chore(deps): update dependency duende.accesstokenmanagement.openidconnect to v3 Oct 8, 2024
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.

3 participants