Chris

My feedback

  1. 15 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Azure Functions » Feature  ·  Flag idea as inappropriate…  ·  Admin →
    Chris commented  · 

    I can see that adding full support for authentication to the core tools is a major exercise.

    Could there be an option to configure the local function host to run some custom middleware on each request, which the developer could write to either 401 a request without the header/cookie they are using, or set the identity in the request context.

    I'm sure in the fullness of time, someone will write a suitable nuget package that everyone ends up using, but at least for now, having the flexibility to run something custom would overcome the problem that at the moment, anything relying on user identity cannot be debugged and tested locally.

    Chris supported this idea  · 

Feedback and Knowledge Base