Configuring Google authentication settings
You can configure Brightspot to allow visitors to authenticate with your site via Google. In order to complete this configuration, the following prerequisite steps are required:
- Creating a Google app and fetching credentials (both performed within Google's console).
- Adding a Google callback endpoint. For details, see Adding a Google callback endpoint.
- Mapping the Facebook app to Brightspot. For details, see Creating a Google service.
To configure Google authentication settings:
- Click > Admin > Sites & Settings.
- In the Sites widget, select the site for which you want to configure these settings, or select Global to configure these settings for all sites.
- Click , located to the left of , and type
Authentication Settings
. - From the Authentication Settings list, select Create New.
- Under Name, give these settings a name (for example,
Google Auth
). - Under Authentication Providers, click Add Item.
- Click to open the content picker, and then from the Create list in the bottom left, select Google and click New.
- Enter an internal name for this asset. Brightspot uses this name internally, such as in the search panel and recent activity widget. This name is not visible to visitors to your site.
- Under Google Service, enter your Google service. For details, see Creating a Google service.
- Under Callback Endpoint, select the endpoint you configured for these Google authentication settings. For details, see Adding a Google callback endpoint.
- Under Login Session Expiration, set the time (in seconds) until a visitor must log in again. This field defaults to 86,400 seconds (24 hours).
- Toggle on Should Validate Cross-Site Request Forgery to protect against malicious requests being made to a site the visitor is logged in to. In order to utilize this, the cookie
[bsp-oauth-csrf-0000018c-644c-d739-a39e-66ec13db0000]
must be allowed and forwarded by CDNs serving the website. - Click Save.
- Click Back.
- From the content picker, select the Google authentication provider you just created.
- Click Save.
Once you have configured Google authentication settings, you can add Google as an authentication option to a login module, which can be used on a login page to help your front-end visitors authenticate with your site.
Previous Topic
Creating a Google service
Next Topic
Viewing authentication entities