Skip to content

Microsoft.AspNetCore.Authorization attributtes #3

@kjartab

Description

@kjartab

Hi, this not really an issue per se. But I had a look at this while trying to use JWT bearer authorization independently of the azure platform. It was nice to come across (albeit hacky as you point out) the reflection snippets in the FunctionContextExtension.

I did end up making a slightly different authorization middleware that make use of IAuthorizationService - I forked and made some changes https://github.com/kjartab/IsolatedFunctionsAuthentication, have a look if you're interested!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions