Closed baptiste-nv closed 3 years ago
GitHub Issue: # NA
Bug fix
OperationContext middleware is set too early when using authentication, causing the Principal identity to be null.
Move
app.UseMiddleware<OperationContextMiddleware>();
after the call to
app.UseAuthentication() .UseAuthorization();
Please check if your PR fulfills the following requirements:
GitHub Issue: # NA
Proposed Changes
Bug fix
What is the current behavior?
OperationContext middleware is set too early when using authentication, causing the Principal identity to be null.
What is the new behavior?
Move
after the call to
Checklist
Please check if your PR fulfills the following requirements: