To setup Google single-sign-on for your Hoist Portal, please follow these instructions:
- Login to your Google Cloud account (https://console.cloud.google.com)
- If you haven't been there before, it will guide you through a setup process which takes about 10 minutes to complete. This is mainly for billing purposes on their end (don't worry, there are no additional charges for what we're setting up!)
- Once you have been set up on Google Cloud - on the side menu there is a section called 'API and Services', click on it and then into 'OAuth Consent Screen' screen
- Give your screen a name, simply 'HoistAI' or whatever you would like to call it
- Enter in an internal support email
- Under Authorised Domains, simply add your domain name
- Enter the same support email as before into the 'Developer contact information' field
- Click 'Save and continue' to head to the next screen
- Click the 'Add or remove scopes' button and select these three (the first three): '../auth/userinfo.email' '../auth/userinfo.profile' 'openid'
- Once finished, use the left-hand side menu again and head to the 'Credentials' screen
- Use the button at the top of the page to '+ CREATE CREDENTIALS'
- Select 'OAuth client ID'
- Application type is 'Web application' and give the application a good name, something like 'HoistAI'
- Under 'Authorised JavaScript origins' add your Hoist Portal URL
- Under 'Authorised redirect URIs', add the URL: https://your_hoist_portal/login-google
- Click the blue 'CREATE' button at the bottom of the page then copy the 'Client ID' and 'Client Secret' into your .txt document to send over to me