Open
Description
When trying to implement a Claims Enrichment middleware, I can see no place to do so, especially when using the new FunctionsApplication
from v4
Start by setting up the AspNetCore Integration on the Function Builder
var host = FunctionsApplication.CreateBuilder(args);
host.ConfigureFunctionsWebApplication();
next configure your middleware (which does BOTH AuthN and AuthZ)
host.UseFunctionsAuthorization();
if I add a ClaimsEnrichment middleware BEFORE this, the user is not yet authenticated and I don't have a user identifier.
if I add a ClaimsEnrichment middleware AFTER this, authorization has already taken place and no new claims are added to the user before authorization.
How can I implement my middleware between authN and authZ using DarkLoop v4.2.0? I'm trying to find an extension method or something that lets me register my middleware between AuthN and AuthZ.
Metadata
Metadata
Assignees
Labels
No labels