Skip to content

Instantly share code, notes, and snippets.

View cvs79's full-sized avatar

Chris cvs79

View GitHub Profile

Keybase proof

I hereby claim:

  • I am cvs79 on github.
  • I am cvs79 (https://keybase.io/cvs79) on keybase.
  • I have a public key ASBmLkKh_fZcNEDtyRBr7HvB3ttZPbOGmBlKRuL2kBhwwgo

To claim this, I am signing this object:

@cvs79
cvs79 / auth gist.cs
Last active April 7, 2017 17:07
auth gist.cs
app.UseIdentity();
app.UseOpenIdConnectAuthentication(new OpenIdConnectOptions
{
ClientId = Configuration["ClientId"],
ClientSecret = Configuration["ClientSecret"],
Authority = Configuration["Authority"],
ResponseType = OpenIdConnectResponseType.Code,
GetClaimsFromUserInfoEndpoint = true
});