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

Update of Microsoft.IdentityModel.* to 7.5.0 only for .NET not .NET Framework #2785

Closed
rastrup opened this issue Apr 22, 2024 · 1 comment
Closed
Assignees

Comments

@rastrup
Copy link

rastrup commented Apr 22, 2024

Microsoft.Identity.Web Library

Microsoft.Identity.Web

Microsoft.Identity.Web version

2.17.5

Web app

Sign-in users and call web APIs

Web API

Protected web APIs (validating tokens)

Token cache serialization

In-memory caches

Description

In releases 2.17.1 and 2.17.3 the packages Microsoft.IdentityModel.* were updated.
But this update was only for .NET, not .NET Framework.
Directory.build.props control the dependency versions and Microsoft.IdentityModel.* is controlled with the tag on line 80 but also for .NET Framework on line 153 and 173. These 2 seems to have been forgotten.
Also a general alignment of versions in Directory.build.props seems to be needed as for several dependencies the version referenced is newer for net462 than for net472.

Reproduction steps

Compare different target frameworks in the Directory.build.props file.

Error message

No response

Id Web logs

No response

Relevant code snippets

NuGet\Install-Package Microsoft.Identity.Web.TokenAcquisition -Version 2.17.5

Regression

No response

Expected behavior

Some alignment of versions referenced when targeting different frameworks.

@jennyf19
Copy link
Collaborator

This was by-design previously as OWIN samples were not working on the 7x of M.IM. Will re-test and see if we can move to 7.x latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants