-
-
Notifications
You must be signed in to change notification settings - Fork 158
Allow user flexibility in authentication/authorization middleware options #656
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
Comments
Can you elaborate a bit on this? What is the status on this? |
6 tasks
@bjornharrtell would you please provide an example of how to pass custom Authentication and Authorization as per your Pull Request? |
@Lobosque In your // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public virtual void Configure(IApplicationBuilder app, AppDbContext context)
{
app.UseJsonApi(_ =>
{
app.UseAuthentication();
app.UseAuthorization();
});
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/58089827/asp-net-core-authentication-broken-after-upgrade-to-3-0
We need to execute
app.UseAuthentication()
andapp.UseAuthorization()
in betweenUseRouting
andUseEndpoints
. Will investigate.The text was updated successfully, but these errors were encountered: