Skip to content

Principle not being set when self-hosting webapi #8

Description

@michael-wolfenden

I believe the reason is the the principle needs to be set on the current owin context:

request.GetRequestContext().Principal = principal;

I made the changes above, and it worked as expected

see http://stackoverflow.com/a/21420794 for more information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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