Google Authentication in Content Fusion Enterprise
How to enable Google authentication so users can log in to Content Fusion Enterprise with their Google accounts.
To enable Google authentication in your Oxygen Content Fusion Enterprise Server solution, follow these
steps:
- Create a new Google API project:
- Go to Google API credentials.
- Click + Create credentials and choose OAuth client ID.
- For Application, choose Web application.
- For Name, pick a relevant name (e.g. "Your Company - Content Fusion").
- For Authorized JavaScript origins:
- Click ADD URI.
- Type in the protocol + hostname where Content Fusion is available (https://example.com).
- For Authorized redirect URIs:
- Click ADD URI.
- Type in the protocol + hostname where Content Fusion is available + /api/oauthc/googleId/callback (https://example.com/api/oauthc/googleId/callback).
- Click Create.
- You will be presented with a Client ID and Client Secret. Take note of these two values.
- On the machine where Content Fusion is installed, add these two
lines to the /fusion/data/config/api/api.properties file, replacing
Client ID and Client Secret with the two
values from the previous
step:
goog_id=Client ID goog_secret=Client Secret - Restart the Content Fusion
machine:
sudo bash /fusion/admin/stop-content-fusion.sh sudo bash /fusion/admin/start-content-fusion.sh
Result: Users will now have the option to log in with Google credentials when signing into Oxygen Content Fusion.