Skip to content

Instantly share code, notes, and snippets.

@shawnweisfeld
Created July 20, 2016 20:51
Show Gist options
  • Save shawnweisfeld/48b73e9c833b287c3e9115c760c694aa to your computer and use it in GitHub Desktop.
Save shawnweisfeld/48b73e9c833b287c3e9115c760c694aa to your computer and use it in GitHub Desktop.
app.UseOpenIdConnectAuthentication(
new OpenIdConnectAuthenticationOptions
{
ClientId = clientId,
Authority = aadInstance + tenantId,
PostLogoutRedirectUri = postLogoutRedirectUri,
AuthenticationType = "AADC"
});
app.UseOpenIdConnectAuthentication(
new OpenIdConnectAuthenticationOptions
{
ClientId = clientIdGov,
Authority = aadInstanceGov + tenantIdGov,
PostLogoutRedirectUri = postLogoutRedirectUri,
AuthenticationType = "AADG"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment