OAuth
tip
Organisations within Flagsmith can be locked to a single authentication method if required, meaning that accounts can neither be created or logged into with anything other than the method specified.
This can be configured at an Organisation level by a Super-Administrator. Please get in touch if you need help with this.
Google
To configure OAuth for Google:
- Setting up OAuth 2.0
- Create the Flagsmith on Flagsmith flag as it shows here.
Github
As a pre-requisite for this configuration make sure to have Flagsmith on Flagsmith set up.
Configure the following environment variables:
GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET
To configure OAuth for Github:
- Create an OAuth Github application
- For the Authorization callback URL use:
https://<your flagsmith domain name>/oauth/github
- Create the Flagsmith on Flagsmith flag as it shows here.
Now you would be able to see the GitHub SSO option.