azure-webjobs-sdk-extensions icon indicating copy to clipboard operation
azure-webjobs-sdk-extensions copied to clipboard

Support ClaimsPrincipal with Azure Static Web Apps Auth

Open anthonychu opened this issue 4 years ago • 3 comments

Static Web Apps’ x-ms-client-principal header is different than Easy Auth’s. Need to sniff which one it is and create ClaimsPrincipal accordingly.

@cgillum is it possible to make this change soon so we can try to get it into a release before Ignite? /cc @fabiocav @brettsam

anthonychu avatar Aug 15 '20 03:08 anthonychu

I think so. @mkarmark is planning on looking into this work item this week.

cgillum avatar Sep 16 '20 20:09 cgillum

Ah, sorry @anthonychu, I just looked at the calendar and realized that we're probably too late for Ignite. We're working on this, but it doesn't look like we'll be able to catch the Ignite train at this point.

cgillum avatar Sep 16 '20 22:09 cgillum

No worries. We documented how to decode the header. We’ll update once this is done and deployed. Thanks.

anthonychu avatar Sep 17 '20 04:09 anthonychu