-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add Mixed-auth-AllowAnonymous-workaround #34
base: main
Are you sure you want to change the base?
Conversation
75415b1
to
2745dd3
Compare
2745dd3
to
6465d21
Compare
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.
Since you sent me the link via LinkedIn, I took the liberty to add a few remarks 😃
(I focused on the OpenIddict stuff and ignored the CoreWCF part as I'm not familiar at all with the stack)
Scenarios/Authentication/Mixed-auth-allow-anonymous-workaround/Idp/Program.cs
Outdated
Show resolved
Hide resolved
Scenarios/Authentication/Mixed-auth-allow-anonymous-workaround/Idp/Program.cs
Show resolved
Hide resolved
Scenarios/Authentication/Mixed-auth-allow-anonymous-workaround/Idp/Program.cs
Outdated
Show resolved
Hide resolved
|
||
var builder = WebApplication.CreateBuilder(); | ||
|
||
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) |
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.
It might be a good idea to add a note indicating that OpenIddict also has a validation handler that uses a more recent JWT stack, can easily switch to OAuth 2.0 introspection and is compatible with any standard OAuth 2.0 implementation (i.e not just OpenIddict.Server
).
Scenarios/Authentication/Mixed-auth-allow-anonymous-workaround/Service/Program.cs
Outdated
Show resolved
Hide resolved
6465d21
to
a797f03
Compare
No description provided.