I'm new to ASP.NET vNext and I don't find how to configure Google OAuth.

I have uncomment the line in Startup.cs:


But where am I supposed to configure it? I tried to replicate the pattern:

services.Configure<MicrosoftAccountAuthenticationOptions>(options =>
    options.ClientId = Configuration["Authentication:MicrosoftAccount:ClientId"];
    options.ClientSecret = Configuration["Authentication:MicrosoftAccount:ClientSecret"];



Isn't recognized even if the dependency is present in project.json:

"Microsoft.AspNet.Authentication.Google": "1.0.0-beta5",

What am I missing?

Related posts

Recent Viewed