GoogleOAuth2AuthenticationOptions google+ API shutting down

Viewed 480

We received an email this week informing us that Google will be shutting down Google+ APIs on March 7, 2019. Our Web App was specifically named in the email and implied that we are using the Google+ API. Our authentication is done using Microsoft.Owin.Security.Google configured as per the following example:

        app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions()
        {
            ClientId = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com",
            ClientSecret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        });

We tried disabling the Google+ API in the developer console to see if it affected our web apps authentication and the authentication does indeed fail so it appears that using this method does use the Google+ API.

Could anyone please provide any advice on how to upgrade our APP to using the new Google Sign-in authentication as it now seems likely that our app will stop working as soon as Google turns off this API beginning as early as January 28th 2019. This does not give us a lot of time to change the authentication.

Many thanks.

1 Answers
Related