

The URI segment /signin-google is set as the default callback of the Google authentication provider. This can be used to request different information about the user. Example redirect URI: where the ) įor more information on configuration options supported by Google authentication, see the GoogleOptions API reference.

In the Authorized redirect URIs section, select ADD URI to set the redirect URI. Select Application type > Web application, choose a name. In the Credentials tab of the application Dashboard, select CREATE CREDENTIALS > OAuth client ID. Review the OAuth consent screen and go back to the app Dashboard.In the App information dialog, Provide an app name for the app, user support email, and developer contact information.Select User Type - External and CREATE.In the Oauth consent screen of the Dashboard: Once a project is selected, enter the Dashboard. Create the Google OAuth 2.0 Client ID and secretįollow the guidance in Integrating Google Sign-In into your web app (Google documentation).Ī Project must exist first, you may have to create one. This tutorial shows you how to enable users to sign in with their Google account using the ASP.NET Core project created on the previous page.
