Merge branch 'release' into dev

This commit is contained in:
Praburaj 2015-02-02 14:35:41 -08:00
commit 260820e4d8
1 changed files with 2 additions and 2 deletions

View File

@ -343,7 +343,7 @@ namespace Microsoft.AspNet.Security.OpenIdConnect
throw new InvalidOperationException("No SecurityTokenValidator found for token: " + openIdConnectMessage.IdToken); throw new InvalidOperationException("No SecurityTokenValidator found for token: " + openIdConnectMessage.IdToken);
} }
ticket = new AuthenticationTicket(principal.Identity as ClaimsIdentity, properties); ticket = new AuthenticationTicket(principal, properties, Options.AuthenticationType);
if (!string.IsNullOrWhiteSpace(openIdConnectMessage.SessionState)) if (!string.IsNullOrWhiteSpace(openIdConnectMessage.SessionState))
{ {
ticket.Properties.Dictionary[OpenIdConnectSessionProperties.SessionState] = openIdConnectMessage.SessionState; ticket.Properties.Dictionary[OpenIdConnectSessionProperties.SessionState] = openIdConnectMessage.SessionState;