Category / Section
Configure GitHub account linking in Janssen Casa
Published:
1 min read
This document lists steps for linking the GitHub account to Janssen Casa on a Gluu Flex deployment.
Get clientID and secret from GitHub
- Register a new client/app here:
https://github.com/settings/applications/new
- Application Name: Test-Jans
- Homepage URL: https://test-jans.gluu.info
- Application description: Test-jans
- Authorization callback URL: https://test-jans.gluu.info/jans-auth/fl/callback
- Get Client ID and Client Secret:
Register in Agama flow
- Log in to Admin-UI
- Auth SErver > Authn > AGAMA FLOWS
- Use ‘Export Current Config’ or ‘Export Sample Config’.
- Modify accordingly:
- Import new JSON file
- Restart authentication server
Final configuration
- Modify
/etc/default/jans-casa
[ change-Dacr
] :"JAVA_OPTIONS="-server -Xms179m -Xmx179m -XX:+DisableExplicitGC -Djans.base=/etc/jans -Dserver.base=/opt/jans/jetty/jans-casa -Dlog.base=/opt/jans/jetty/jans-casa -Dpython.home=/opt/jython -Dadmin.lock=/opt/jans/jetty/jans-casa/.administrable -Dacr=agama_io.jans.casa.authn.acctlinking"
Test
If everything goes well, you should see the “GitHub” logo on the Casa login page.