Skip to content

Conversation

@neozhu
Copy link
Owner

@neozhu neozhu commented Jun 8, 2023

remove:

<PackageReference Include="Duende.IdentityServer" Version="6.3.1" />
<PackageReference Include="Duende.IdentityServer.AspNetIdentity" Version="6.3.1" />
<PackageReference Include="Duende.IdentityServer.EntityFramework" Version="6.3.1" />
<PackageReference Include="Duende.IdentityServer.EntityFramework.Storage" Version="6.3.1" />
<PackageReference Include="Duende.IdentityServer.Storage" Version="6.3.1" />

add:

<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="7.0.5" />
<PackageReference Include="Microsoft.Extensions.Identity.Core" Version="7.0.5" />

fixed:
state.User.Identity.IsAuthenticated instead of state.User.IsAuthenticated()

@neozhu neozhu linked an issue Jun 8, 2023 that may be closed by this pull request
@neozhu neozhu marked this pull request as ready for review June 8, 2023 02:14
Copy link
Collaborator

@Bram1903 Bram1903 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work man! I didn't even think of that option within the identity user itself, while I have used it many times!

I have no idea what's going on with CodeQL. Somehow it says it's failing to build, but I'll take a closer look at that later!

@neozhu neozhu merged commit 8149e29 into main Jun 8, 2023
@neozhu neozhu deleted the 401-duende-packages branch July 11, 2025 11:56
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.

Duende Packages

3 participants