Google - Social login (SSO) configuration
Sign in with Google only requires two fields: Client ID and
Client Secret. Both of these are provided by Google, and these steps will
help you create them.
The official Google guide is here. You'll be following the guide to create an OAuth 2.0 client, and PropelAuth will manage the OAuth workflow.
- Go to the Google Cloud Platform Console.
- From the projects list, select a project or create a new one.
- On the left side menu, select APIs & services.
- Click Credentials.
- If you have never created an OAuth consent screen (what your users will see
Sign in with Google), you will be prompted to fill that out first. Fill in the information for your application.
- Click Create Credentials, then select OAuth client ID.
Web applicationfor your Application type.
- Under Authorized redirect URIs, enter PropelAuth's provided URI. You can find this on the Social Logins section for your PropelAuth project.
- Click Create, note down the Client ID and Client secret you are provided.
- On the Social Logins section for your PropelAuth project, enter your Client ID and Client Secret. Click enable and save.
When you go to your hosted authentication pages, you should see the
Sign in with Google button.