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.
To configure OAuth for Google:
As a pre-requisite for this configuration make sure to have Flagsmith on Flagsmith set up.
Configure the following environment variables:
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.