No Gooogle OAuth for .net core?

FYI, I’ve created a new GoogleAuthProvider in this commit which doesn’t have the DotNetOpenAuth dependency.

To use the new provider you’ll need to use oauth.google.* in your appsettings.json, e.g:

/* Create App https://console.developers.google.com/apis/credentials */
"oauth.google.ConsumerKey": "...",
"oauth.google.ConsumerSecret": "...",

and your Google OAuth App will need to redirect to /auth/google redirect url.

These changes are available from v5.2.1 that’s now available on MyGet.

I’ve also updated the SimpleAuth.Mvc project to use the new GoogleAuthProvider and deployed a working example at: http://mvc.netcore.io

2 Likes