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
docs(integrations): fix browser (#7782)
Adrian Kahalif0a15c974c73
diff --git a/docs/snippets/DeliverSecretsBrowser.jsx b/docs/snippets/DeliverSecretsBrowser.jsxindex f6a75e2e09..cd462925cc 100644--- a/docs/snippets/DeliverSecretsBrowser.jsx+++ b/docs/snippets/DeliverSecretsBrowser.jsx@@ -1,6 +1,10 @@export const DeliverSecretsBrowser = () => {const [searchTerm, setSearchTerm] = useState("");const [selectedCategory, setSelectedCategory] = useState("All");+ const currentPath =+ typeof window === "undefined" ? "" : window.location.pathname;+ const basePath =+ currentPath === "/docs" || currentPath.startsWith("/docs/") ? "/docs" : "";const categories = ["All",@@ -268,7 +272,7 @@ export const DeliverSecretsBrowser = () => {{filteredEntries.map((entry) => (<akey={`${entry.category}-${entry.path}`}- href={entry.path}+ href={`${basePath}${entry.path}`}className="group block border border-gray-200 bg-white px-4 py-3 transition-colors hover:border-yellow-200 hover:bg-yellow-50/50 focus:outline-none focus:ring-2 focus:ring-yellow-500 dark:border-gray-700 dark:bg-black dark:hover:border-yellow-700 dark:hover:bg-yellow-950/20"><div className="mb-2 flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between sm:gap-3">diff --git a/docs/snippets/UserAuthenticationBrowser.jsx b/docs/snippets/UserAuthenticationBrowser.jsxindex eaeee4924b..919b9a9b8e 100644--- a/docs/snippets/UserAuthenticationBrowser.jsx+++ b/docs/snippets/UserAuthenticationBrowser.jsx@@ -19,9 +19,7 @@ export const UserAuthenticationBrowser = () => {{"name": "Keycloak SAML", "slug": "keycloak-saml-sso", "path": "/documentation/platform/sso/keycloak-saml", "description": "Learn how to configure Keycloak SAML SSO for user authentication in Infisical.", "category": "SSO"},{"name": "Okta OIDC", "slug": "okta-oidc-sso", "path": "/documentation/platform/sso/okta-oidc", "description": "Learn how to configure Okta OIDC SSO for user authentication in Infisical.", "category": "SSO"},{"name": "Okta SAML", "slug": "okta-saml-sso", "path": "/documentation/platform/sso/okta", "description": "Learn how to configure Okta SAML SSO for user authentication in Infisical.", "category": "SSO"},- {"name": "OneLogin SAML", "slug": "onelogin-saml-sso", "path": "/documentation/platform/sso/onelogin-saml", "description": "Learn how to configure OneLogin SAML SSO for user authentication in Infisical.", "category": "SSO"},{"name": "General OIDC", "slug": "general-oidc-sso", "path": "/documentation/platform/sso/general-oidc", "description": "Learn how to configure generic OIDC providers for SSO in Infisical.", "category": "SSO"},- {"name": "General SAML 2.0", "slug": "general-saml-sso", "path": "/documentation/platform/sso/general-saml", "description": "Learn how to configure generic SAML 2.0 providers for SSO in Infisical.", "category": "SSO"},{"name": "LDAP", "slug": "ldap", "path": "/documentation/platform/ldap/overview", "description": "Learn how to configure LDAP authentication for user login in Infisical.", "category": "LDAP"},{"name": "SCIM", "slug": "scim", "path": "/documentation/platform/scim/overview", "description": "Learn how to configure SCIM provisioning for automated user management in Infisical.", "category": "SCIM"},{"name": "Email/Password", "slug": "email-password", "path": "/documentation/getting-started/introduction", "description": "Learn how to use standard email and password authentication in Infisical.", "category": "General"}