Skip to content

IdWeb fails with current version of IdentityModel dev branch #3167

@jmprieur

Description

@jmprieur

Microsoft.Identity.Web Library

Microsoft.Identity.Web

Microsoft.Identity.Web version

3,5,1

Web app

Not Applicable

Web API

Not Applicable

Token cache serialization

Not Applicable

Description

IdWeb fails with current version of IdentityModel dev branch, due to a package downgrade (Of Microsoft.Extensions.Logging.Abstractions)

Reproduction steps

  1. Run a unified build with all master/main/dev versions of the libraries

Error message

D:\a_work\1\s\microsoft-identity-web\src\Microsoft.Identity.Web.Certificateless\Microsoft.Identity.Web.Certificateless.csproj : error NU1605: Warning As Error: Detected package downgrade: Microsoft.Extensions.Logging.Abstractions from 3.1.0 to 2.1.0. Reference the package directly from the project to select a different version. [D:\a_work\1\s\microsoft-identity-web\tests\E2E Tests\NET 7 tests\IntegrationTests\IntegrationTests.csproj]
D:\a_work\1\s\microsoft-identity-web\src\Microsoft.Identity.Web.Certificateless\Microsoft.Identity.Web.Certificateless.csproj : error NU1605: Microsoft.Identity.Web.Certificateless -> Microsoft.IdentityModel.JsonWebTokens 8.3.1 -> Microsoft.IdentityModel.Tokens 8.3.1 -> Microsoft.Extensions.Logging.Abstractions (>= 3.1.0) [D:\a_work\1\s\microsoft-identity-web\tests\E2E Tests\NET 7 tests\IntegrationTests\IntegrationTests.csproj]
D:\a_work\1\s\microsoft-identity-web\src\Microsoft.Identity.Web.Certificateless\Microsoft.Identity.Web.Certificateless.csproj : error NU1605: Microsoft.Identity.Web.Certificateless -> Microsoft.Extensions.Logging.Abstractions (>= 2.1.0) [D:\a_work\1\s\microsoft-identity-web\tests\E2E Tests\NET 7 tests\IntegrationTests\IntegrationTests.csproj]

Id Web logs

N/A

Relevant code snippets

N/a

Regression

No regression

Expected behavior

IdWeb builds.

Analysis. This is because IdentityModel now leverages Microsoft.Extensions.Loging.Abstraction

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions