GitHub Authentication in Content Fusion Enterprise
How to enable GitHub authentication so users can log in to Content Fusion Enterprise with their GitHub accounts.
To enable GitHub authentication in your Oxygen Content Fusion Enterprise Server solution, follow these
steps:
- Create a new GitHub application.
- Visit this GitHub registration page and complete the details to register a new developer application.
- For Application name, pick something like "Your Company - Content Fusion".
- For Authorization callback URL, type
https://example.com/api/oauthc/githubId/callback.Note:https://example.com should be replaced by the location where Content Fusion is hosted.
- Click Register application.
- You will be presented with a Client ID and Client Secret. Take note of these 2 values.
- On the machine where Content Fusion is installed, add these 2 lines to the
/fusion/data/config/api/api.properties file, replacing Client ID
and Client Secret with the 2 values from the previous step:
gh_id=Client ID gh_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 GitHub credentials when signing into Oxygen Content Fusion.