Skip to content

ASP.Net Identity - Not authenticated does'nt honour special headers #39

@johnkattenhorn

Description

@johnkattenhorn

It's take me a couple of days to figure out what our problem was, we host a ASP.NET Core Web App behind the gateway, this worked great until we secured the home page.

Once we secured the home page, the redirect request to the login page doesn't seem to use the special headers (which by the way I can't see in fiddle / chrome - should we ? ).

I'm think the ASP.NET Core Authentication Filter runs first before the middleware has a chance to modify the response.

I looking for some suggestions on how best to approach writing a custom component which would look for and honour the special headers ?

I'm currently studying the ASP.NET Core documentation but the only examples I've turned up so far are related to security policy customisation rather than custom behaviour.

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