GitHub¶
🔧 Setting up Single Sign-On (SSO) with GitHub for InfraKitchen¶
GitHub SSO requires a GitHub App to be created. You can create a GitHub App in your organization or user account. Check out the official documentation Put the following settings in the GitHub App:
- Homepage URL: The URL of your InfraKitchen instance, e.g.
http://localhost:7777. - Authorization callback URL: The URL to authorize the GitHub App, e.g.
http://localhost:7777/api/auth/github/callback.
⚙️ InfraKitchen Configuration¶
To configure InfraKitchen to use the GitHub App, you need to provide the following parameters in auth provider settings:
- Client ID: The Client ID of the GitHub App.
- Client Secret: The Client Secret of the GitHub App.
- Redirect URL: The URL to authorize the GitHub App. e.g.
http://localhost:7777/api/auth/github/callback - Filter by domain: If you want to restrict access to users with a specific email domain, you can set this parameter. For example, if you want to allow only users with
@example.comemail addresses, set this parameter toexample.com.