--- id: github title: GitHub --- # GitHub Single Sign-on Select `Manage SSO` from workspace options
![ToolJet - SSO configs](/img/password-login/organization-menu.png)
Select `GitHub`, GitHub login will be disabled by default
![ToolJet - SSO configs](/img/sso/git/manage-sso-1.png)
Enable GitHub. You can see `Redirect URL` generated
![ToolJet - SSO configs](/img/sso/git/manage-sso-2.png)
Go to [GitHub Developer settings](https://github.com/settings/developers) and navigate to `OAuth Apps` and create a project. `Authorization callback URL` should be the generated `Redirect URL` in Git manage SSO page.
![ToolJet - GitHub create project](/img/sso/git/create-project.png)
- Open the application details, and you can see the `Client ID`
![ToolJet - GitHub view client id](/img/sso/git/client-id.png)
- Then create `Client secrets` by clicking `Generate new client secret`
![ToolJet - GitHub create client secret](/img/sso/git/client-secret.png)
Lastly, enter `Client Id` and `Client Secret` in GitHub manage SSO page and save. The GitHub sign-in button will now be available in your ToolJet login screen if you have not enabled Multi-Workspace. :::info Should configure `Host Name` if you are using GitHub Enterprise self hosted. Host name should be a URL and should not ends with `/`, example: `https://github.tooljet.com` ::: ## Multi-Workspace If you have enabled Multi-Workspace you can configure GitHub SSO as mentioned above, for setting default SSO for the instance use environment variable. | variable | description | | ------------------------------------- | ----------------------------------------------------------- | | SSO_GIT_OAUTH2_CLIENT_ID | GitHub OAuth client id | | SSO_GIT_OAUTH2_CLIENT_SECRET | GitHub OAuth client secret | | SSO_GIT_OAUTH2_HOST | GitHub OAuth host name if GitHub is self hosted | Redirect URL should be `/sso/git`