Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void ConfigureAuth(IAppBuilder app)
- {
- app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType);
- app.UseCookieAuthentication(new CookieAuthenticationOptions());
- app.UseOpenIdConnectAuthentication(
- new OpenIdConnectAuthenticationOptions
- {
- ClientId = Config.ClientId,
- ClientSecret = Config.ClientSecret,
- Authority = Config.Authority,
- PostLogoutRedirectUri = Config.PostLogoutRedirectUri,
- RedirectUri = Config.PostLogoutRedirectUri,
- Notifications = new OpenIdConnectAuthenticationNotifications()
- {
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement