Google

Setting SSO for Google

Create Google Oauth 2.0 Client

  • https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/google-logins?view=aspnetcore-6.0​

  • If no project exists create a new project​

  • Select the “Oauth consent screen“ tab​

  • Select User Type - External and CREATE.​

  • In the App information dialog, Provide an app name for the app, user support email, and developer contact information

  • Step through the Scopes step

  • Step through the Test users step

  • Review the OAuth consent screen and go back to the app Dashboard.

Create the credentials

  • Go to the Credentials tab

  • Click create credentials -> Oauth client ID

  • Select application type “Web application” and choose a name

  • Add a redirect URI with the following format

    • Https://{yourURL}/AppsService/signin-google

    • Https://{yourURL}/Platform/signin-google

    • Https://{yourURL}/Apps/signin-google

  • Click the create button

  • Save the client ID and Client secret

Copy ClientId and ClientSecret

  • Sign in to the Any2Info platform and go to Settings​

  • Click on the group Authorization and select “Google SSO”​

  • Copy the value of the newly created clientId

  • Paste the value in the clientId setting

  • Copy the value of the newly created secret

  • Paste the value in the clientsecret setting

  • Enable the EnableGoogleSSO setting

  • Save the settings

Connect Google id to the users

  • For each user that should be able to sign in to the platform/app using Google make sure the SSO username is filled.

Last updated