I'm using Cookies and OpenIDConnect Authentication with an MVC app, and I'd like to add some claims to the user once they are logged in, but I'm not sure where to put the code. Is there any event that fires after the user has been successfully authenticated?
public void ConfigureAuth(IAppBuilder app) { app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType); app.UseCookieAuthentication(new CookieAuthenticationOptions { }); app.UseOpenIdConnectAuthentication( new OpenIdConnectAuthenticationOptions { Client_Id = "d71c88d1-f3d3-47e9-8313-06bc9af9a991", Authority = "https://login.windows.net/azurefridays.onmicrosoft.com/" } }