Skip to content

Conversation

@HaoK
Copy link
Member

@HaoK HaoK commented Jun 16, 2021

Fixes #32881

<Reference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" />
<Reference Include="Microsoft.AspNetCore.Identity.UI" />
<Reference Include="Newtonsoft.Json" />
<SuppressBaselineReference Include="IdentityServer4.AspNetIdentity" />
Copy link
Member Author

Choose a reason for hiding this comment

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

@aspnet-build is this something I should be checking in (SupressBaselineReference?)

Copy link
Contributor

Choose a reason for hiding this comment

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

It's alright if the pseudo-breaking change is approved. I'm a bit more concerned about having a shipping package depend on an unsigned assembly. Thoughts @Pilchie

Copy link
Member

Choose a reason for hiding this comment

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

This would be my only concern as well. I couldn't find other instances of shipping projects doing this in our repo or dotnet/runtime

Copy link
Member Author

@HaoK HaoK Jul 6, 2021

Choose a reason for hiding this comment

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

@blowdart seems to be okay with this, is there anyone else we should ping about this? To clarify its signed, but doesn't have a strong name, poor choice in wording by me

Copy link
Contributor

Choose a reason for hiding this comment

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

Our Nuget package is signed. The assemblies do not have a strong name. What would be the benefit of that for a library targeting .NET Core consumers only?

@Pilchie Pilchie added the area-identity Includes: Identity and providers label Jun 17, 2021
@HaoK HaoK changed the title [WIP] Update to Duende Update to IdentityServer4 -> Duende Jul 3, 2021
@HaoK HaoK changed the title Update to IdentityServer4 -> Duende Update IdentityServer4 -> Duende Jul 3, 2021
@HaoK HaoK requested review from a team, blowdart and javiercn July 3, 2021 05:18
@HaoK HaoK marked this pull request as ready for review July 3, 2021 05:18
@HaoK HaoK requested review from Pilchie and dougbu as code owners July 3, 2021 05:18
Copy link
Contributor

@dougbu dougbu left a comment

Choose a reason for hiding this comment

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

Also, why are you adding the empty src/Identity/ApiAuthorization.IdentityServer/src/ApiAuthorizationDbContext.cs file❔

<Reference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" />
<Reference Include="Microsoft.AspNetCore.Identity.UI" />
<Reference Include="Newtonsoft.Json" />
<SuppressBaselineReference Include="IdentityServer4.AspNetIdentity" />
Copy link
Contributor

Choose a reason for hiding this comment

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

It's alright if the pseudo-breaking change is approved. I'm a bit more concerned about having a shipping package depend on an unsigned assembly. Thoughts @Pilchie

/// <value>
/// The keys.
/// </value>
public DbSet<Key> Keys { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

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

I see a couple of new DbSet<T> properties in this PR but haven't noticed new references to them. What are they for❔

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah it comes from a new requirement from the updated version of IPersistedGrantDbContext, which now store Keys, I'm not sure exactly what they are used for, but its part of the contract for IdentityServer Stores

@blowdart
Copy link
Contributor

blowdart commented Jul 6, 2021

Which one is the unsigned package @dougbu mentions?

@HaoK
Copy link
Member Author

HaoK commented Jul 6, 2021

@blowdart all of the identity server packages are unsigned, by design it appears: DuendeArchive/IdentityServer4#1653

@blowdart
Copy link
Contributor

blowdart commented Jul 6, 2021

Oh strong named rather than signed. Yea not worried then considering it has no security benefits, and it's "only" a dependency rather than shipping as part of the product.

@HaoK HaoK merged commit c754959 into main Jul 13, 2021
@HaoK HaoK deleted the haok/duende branch July 13, 2021 19:23
@ghost ghost added this to the 6.0-preview7 milestone Jul 13, 2021
HaoK added a commit that referenced this pull request Jul 13, 2021
HaoK added a commit that referenced this pull request Jul 14, 2021
HaoK added a commit that referenced this pull request Jul 14, 2021
HaoK added a commit that referenced this pull request Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-identity Includes: Identity and providers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update IdentityServer to Duende IdentityServer for .NET 6

10 participants