Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Finish adding docs for Google SSO and GitHub SSO configuration
Tuan Dang14a260b785a9
diff --git a/docs/documentation/platform/sso/github.mdx b/docs/documentation/platform/sso/github.mdxnew file mode 100644index 0000000000..2b4dd8c85a--- /dev/null+++ b/docs/documentation/platform/sso/github.mdx@@ -0,0 +1,37 @@+---+title: "GitHub SSO"+description: "Configure GitHub SSO for Infisical"+---++Using GitHub SSO on a self-hosted instance of Infisical requires configuring an OAuth2 application in GitHub and registering your instance with it.++## Create an OAuth application in GitHub++Navigate to your user Settings > Developer settings > OAuth Apps to create a new GitHub OAuth application.++++++Create the OAuth application. As part of the form, set the **Homepage URL** to your self-hosted domain `https://your-domain.com`+and the **Authorization callback URL** to `https://your-domain.com/api/v1/sso/github`.++++<Note>+ If you have a GitHub organization, you can create an OAuth application under it+ in your organization Settings > Developer settings > OAuth Apps > New Org OAuth App.+</Note>++## Add your OAuth application credentials to Infisical++Obtain the **Client ID** and generate a new **Client Secret** for your GitHub OAuth application.++++Back in your Infisical instance, add two new environment variables for the credentials of your GitHub OAuth application:++- `CLIENT_ID_GITHUB_LOGIN`: The **Client ID** of your GitHub OAuth application.+- `CLIENT_SECRET_GITHUB_LOGIN`: The **Client Secret** of your GitHub OAuth application.++Once added, restart your Infisical instance and log in with GitHub.\ No newline at end of filediff --git a/docs/documentation/platform/sso/google.mdx b/docs/documentation/platform/sso/google.mdxnew file mode 100644index 0000000000..61da9188c6--- /dev/null+++ b/docs/documentation/platform/sso/google.mdx@@ -0,0 +1,30 @@+---+title: "Google SSO"+description: "Configure Google SSO for Infisical"+---++Using Google SSO on a self-hosted instance of Infisical requires configuring an OAuth2 application in GCP and registering your instance with it.++## Create an OAuth2 application in GCP++Navigate to your project API & Services > Credentials to create a new OAuth2 application.+++++Create the application. As part of the form, add to **Authorized redirect URIs**: `https://your-domain.com/api/v1/sso/google`.++++## Add your OAuth2 application credentials to Infisical++Obtain the **Client ID** and **Client Secret** for your GCP OAuth2 application.++++Back in your Infisical instance, add two new environment variables for the credentials of your GCP OAuth2 application:++- `CLIENT_ID_GOOGLE_LOGIN`: The **Client ID** of your GCP OAuth2 application.+- `CLIENT_SECRET_GOOGLE_LOGIN`: The **Client Secret** of your GCP OAuth2 application.++ Once added, restart your Infisical instance and log in with Google\ No newline at end of filediff --git a/docs/documentation/platform/sso/overview.mdx b/docs/documentation/platform/sso/overview.mdxindex 9a9afadeff..359f09fb3b 100644--- a/docs/documentation/platform/sso/overview.mdx+++ b/docs/documentation/platform/sso/overview.mdx@@ -4,9 +4,11 @@ description: "Log in to Infisical via SSO protocols"---<Warning>- Infisical currently has confirmed support for SAML SSO authentication with- Okta, Azure AD, and JumpCloud. We're expanding support for other IdPs in the- coming months, so stay tuned and feel free to request a IdP at this+ Infisical offers Google SSO and GitHub SSO for free across both Infisical Cloud and Infisical Self-hosted.++ Infisical also offers SAML SSO authentication but as paid features that can be unlocked on Infisical Cloud's **Pro** tier+ or via enterprise license on self-hosted instances of Infisical. On this front, we currently support Okta, Azure AD, and JumpCloud and+ are expanding support for other IdPs in the coming months; stay tuned and feel free to request a IdP at this[issue](https://github.com/Infisical/infisical/issues/442).</Warning>@@ -15,6 +17,8 @@ You can configure your organization in Infisical to have members authenticate wiTo note, configuring SSO retains the end-to-end encrypted architecture of Infisical because we decouple the **authentication** and **decryption** steps. In all login with SSO implementations,your IdP cannot and will not have access to the decryption key needed to decrypt your secrets.+- [Google SSO](/documentation/platform/sso/google)+- [GitHub SSO](/documentation/platform/sso/github)- [Okta SAML](/documentation/platform/sso/okta)- [Azure SAML](/documentation/platform/sso/azure)-- [JumpCloud SAML](/documentation/platform/sso/jumpcloud)+- [JumpCloud SAML](/documentation/platform/sso/jumpcloud)\ No newline at end of filediff --git a/docs/images/sso/github/credentials.png b/docs/images/sso/github/credentials.pngnew file mode 100644index 0000000000..82b44c03b2Binary files /dev/null and b/docs/images/sso/github/credentials.png differdiff --git a/docs/images/sso/github/dev-settings.png b/docs/images/sso/github/dev-settings.pngnew file mode 100644index 0000000000..e95e943218Binary files /dev/null and b/docs/images/sso/github/dev-settings.png differdiff --git a/docs/images/sso/github/new-app-form.png b/docs/images/sso/github/new-app-form.pngnew file mode 100644index 0000000000..c162fee552Binary files /dev/null and b/docs/images/sso/github/new-app-form.png differdiff --git a/docs/images/sso/github/new-app.png b/docs/images/sso/github/new-app.pngnew file mode 100644index 0000000000..64f5525642Binary files /dev/null and b/docs/images/sso/github/new-app.png differdiff --git a/docs/images/sso/github/settings.png b/docs/images/sso/github/settings.pngnew file mode 100644index 0000000000..27547dbfebBinary files /dev/null and b/docs/images/sso/github/settings.png differdiff --git a/docs/images/sso/google/api-services.png b/docs/images/sso/google/api-services.pngnew file mode 100644index 0000000000..59bd43fcd6Binary files /dev/null and b/docs/images/sso/google/api-services.png differdiff --git a/docs/images/sso/google/credentials.png b/docs/images/sso/google/credentials.pngnew file mode 100644index 0000000000..af32df88a7Binary files /dev/null and b/docs/images/sso/google/credentials.png differdiff --git a/docs/images/sso/google/new-app-form.png b/docs/images/sso/google/new-app-form.pngnew file mode 100644index 0000000000..834ed181f1Binary files /dev/null and b/docs/images/sso/google/new-app-form.png differdiff --git a/docs/images/sso/google/new-app.png b/docs/images/sso/google/new-app.pngnew file mode 100644index 0000000000..b950d80700Binary files /dev/null and b/docs/images/sso/google/new-app.png differdiff --git a/docs/mint.json b/docs/mint.jsonindex 9eaeddb1f6..260b174b00 100644--- a/docs/mint.json+++ b/docs/mint.json@@ -126,6 +126,8 @@"group": "SSO","pages": ["documentation/platform/sso/overview",+ "documentation/platform/sso/google",+ "documentation/platform/sso/github","documentation/platform/sso/okta","documentation/platform/sso/azure","documentation/platform/sso/jumpcloud"@@ -150,6 +152,7 @@"self-hosting/configuration/envars","self-hosting/configuration/email","self-hosting/configuration/redis",+ "self-hosting/configuration/sso","self-hosting/faq"]},diff --git a/docs/self-hosting/configuration/sso.mdx b/docs/self-hosting/configuration/sso.mdxnew file mode 100644index 0000000000..2497e368b6--- /dev/null+++ b/docs/self-hosting/configuration/sso.mdx@@ -0,0 +1,20 @@+---+title: "Configure SSO"+description: "How to configure SSO when self-hosting Infisical."+---++<Warning>+ Infisical offers Google SSO and GitHub SSO for free.++ Infisical also offers SAML SSO authentication but as paid features that can be unlocked via enterprise license; if this is of interest, please contact [email protected].+ On this front, we currently support Okta, Azure AD, and JumpCloud and are expanding support for other IdPs in the coming months; stay tuned and feel free to request a IdP at this+ [issue](https://github.com/Infisical/infisical/issues/442).+</Warning>++You can view specific documentation for how to set up each SSO authentication method below:++- [Google SSO](/documentation/platform/sso/google)+- [GitHub SSO](/documentation/platform/sso/github)+- [Okta SAML](/documentation/platform/sso/okta)+- [Azure SAML](/documentation/platform/sso/azure)+- [JumpCloud SAML](/documentation/platform/sso/jumpcloud)\ No newline at end of file