-
Notifications
You must be signed in to change notification settings - Fork 357
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
Cleanup deprecated code and TODOs #1457
Conversation
josephdecock
commented
Nov 1, 2023
•
edited
Loading
edited
- Remove code marked as unused/to be removed in 7.0
- Fix typo in name
- Clean up some very old todos that don't need to be done anymore
- Remove code marked as unused/to be removed in 7.0 - Fix typo in name - Clean up some very old todos that don't need to be done anymore
@@ -6,6 +6,6 @@ namespace Duende.IdentityServer; | |||
|
|||
internal static class Constants | |||
{ | |||
public const string IdentityServerName = "IdentityServer4"; | |||
public const string IdentityServerName = "Duende.IdentityServer"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is this used? will this change cause any breaking changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is likely to break anyone. It is used
- As the default value for the CorsPolicyName option and
- As the value for IdentityServerAuthenticationType
I guess theoretically if someone has created a cors policy and named it "Duende.IdentityServer", this conflicts with that. That seems pretty unlikely to me.
And theoretically, a customer could have a customization that cares about the authentication type and refers to it without using this constant. Again, seems pretty unlikely.
OTOH, this is a low-value change.