This project has moved and is read-only. For the latest updates, please go here.

Impersonate user (fire authentication again)

Jun 18, 2015 at 8:06 PM
Our current application gives the an admin user the option to impersonate another user. I want to be able to use the notifications from the OpenIdConnectAuthenticationOptions again.

I am able to get the information from our identityserver, but only the MessageReceived is fired, since I am not using the state information that the Katana UseOpenIdConnectAuthentication requires.

Checking the code I see you expect some specific values but those values are not part of the public interface.

Is there any way to fire the authentication again? Right now I am using a method on a controller to do this, validating the Token manually, but it seems odd to me to repeat what's in the middleware already.