const generateVersionDropdown = require("./src/utils.js").generateVersionDropdown; const docsSidebar = { docs: [ { type: "html", }, { type: "doc", id: "index", }, { type: "category", label: "Installation", collapsed: false, link: { type: "doc", id: "installation/index", }, items: [ "installation/docker-compose", "installation/kubernetes", "installation/beta", "installation/configuration", "installation/reverse-proxy", "installation/automated-install", "installation/air-gapped", "installation/monitoring", ], }, { type: "category", label: "Core Concepts", collapsed: true, items: [ "core/terminology", "core/applications", "core/tenants", "core/certificates", "core/geoip", "core/architecture", ], }, { type: "category", label: "Enterprise", collapsed: true, link: { type: "doc", id: "enterprise/index", }, items: [ "enterprise/get-started", "enterprise/manage-enterprise", "enterprise/entsupport", ], }, { type: "category", label: "Providers", items: [ { type: "category", label: "OAuth2 Provider", link: { type: "doc", id: "providers/oauth2/index", }, items: [ "providers/oauth2/client_credentials", "providers/oauth2/device_code", ], }, "providers/saml/index", "providers/radius/index", { type: "category", label: "Proxy Provider", link: { type: "doc", id: "providers/proxy/index", }, items: [ "providers/proxy/custom_headers", "providers/proxy/header_authentication", { type: "category", label: "Forward authentication", link: { type: "doc", id: "providers/proxy/forward_auth", }, items: [ "providers/proxy/server_nginx", "providers/proxy/server_traefik", "providers/proxy/server_envoy", "providers/proxy/server_caddy", ], }, ], }, { type: "category", label: "LDAP Provider", link: { type: "doc", id: "providers/ldap/index", }, items: ["providers/ldap/generic_setup"], }, "providers/scim/index", ], }, { type: "category", label: "Sources", link: { type: "doc", id: "sources/index", }, items: [ "sources/ldap/index", "sources/oauth/index", "sources/saml/index", ], }, { type: "category", label: "Outposts", link: {}, items: [ "outposts/embedded/embedded", { type: "category", label: "Integrations", items: [ "outposts/integrations/docker", "outposts/integrations/kubernetes", ], }, { type: "category", label: "Running and upgrading", items: [ "outposts/manual-deploy-docker-compose", "outposts/manual-deploy-kubernetes", "outposts/upgrading", ], }, ], }, { type: "category", label: "Flows", link: { type: "doc", id: "flow/index", }, items: [ "flow/layouts", "flow/inspector", "flow/context/index", { type: "category", label: "Examples", items: ["flow/examples/flows", "flow/examples/snippets"], }, { type: "category", label: "Executors", items: [ "flow/executors/if-flow", "flow/executors/user-settings", "flow/executors/headless", ], }, ], }, { type: "category", label: "Stages", link: { type: "generated-index", title: "Stages", slug: "flow/stages", description: "Overview of all available stages", }, items: [ "flow/stages/authenticator_duo/index", "flow/stages/authenticator_sms/index", "flow/stages/authenticator_static/index", "flow/stages/authenticator_totp/index", "flow/stages/authenticator_validate/index", "flow/stages/authenticator_webauthn/index", "flow/stages/captcha/index", "flow/stages/deny", "flow/stages/email/index", "flow/stages/identification/index", "flow/stages/invitation/index", "flow/stages/password/index", "flow/stages/prompt/index", "flow/stages/user_delete", "flow/stages/user_login/index", "flow/stages/user_logout", "flow/stages/user_write", ], }, { type: "category", label: "Policies", link: { type: "doc", id: "policies/index", }, items: [ { type: "category", label: "Working with policies", items: ["policies/working_with_policies/whitelist_email"], link: { type: "generated-index", title: "Working with policies", slug: "policies/working_with_policies", description: "Overview of policies configuration", }, }, "policies/expression", ], }, { type: "category", label: "Property Mappings", link: { type: "doc", id: "property-mappings/index", }, items: ["property-mappings/expression"], }, { type: "category", label: "Events", link: { type: "doc", id: "events/index", }, items: ["events/notifications", "events/transports"], }, { type: "category", label: "Interfaces", items: [ { type: "category", label: "Flow", items: ["interfaces/flow/customization"], }, { type: "category", label: "User", items: ["interfaces/user/customization"], }, { type: "category", label: "Admin", items: ["interfaces/admin/customization"], }, ], }, { type: "category", label: "Users & Groups", items: ["user-group/user", "user-group/group"], }, { type: "category", label: "Blueprints", link: { type: "doc", id: "blueprints/index", }, items: [ "blueprints/export", "blueprints/v1/structure", "blueprints/v1/tags", "blueprints/v1/example", { type: "category", label: "Models", link: { type: "doc", id: "blueprints/v1/models", }, items: ["blueprints/v1/meta"], }, ], }, { type: "category", label: "API", link: { type: "doc", id: "api/api", }, items: [ "api/flow-executor", "api/making-schema-changes", "api/websocket", "api/browser", ], }, { type: "category", label: "Release Notes", link: { type: "generated-index", title: "Releases", slug: "releases", description: "Release notes for recent authentik versions", }, items: [ "releases/2023/v2023.8", "releases/2023/v2023.6", "releases/2023/v2023.5", { type: "category", label: "Previous versions", items: [ "releases/2023/v2023.4", "releases/2023/v2023.3", "releases/2023/v2023.2", "releases/2023/v2023.1", "releases/2022/v2022.12", "releases/2022/v2022.11", "releases/2022/v2022.10", "releases/2022/v2022.9", "releases/2022/v2022.8", "releases/2022/v2022.7", "releases/2022/v2022.6", "releases/2022/v2022.5", "releases/2022/v2022.4", "releases/2022/v2022.2", "releases/2022/v2022.1", "releases/2021/v2021.12", "releases/2021/v2021.10", "releases/2021/v2021.9", "releases/2021/v2021.8", "releases/2021/v2021.7", "releases/2021/v2021.6", "releases/2021/v2021.5", "releases/2021/v2021.4", "releases/2021/v2021.3", "releases/2021/v2021.2", "releases/2021/v2021.1", "releases/old/v0.14", "releases/old/v0.13", "releases/old/v0.12", "releases/old/v0.11", "releases/old/v0.10", "releases/old/v0.9", ], }, ], }, { type: "category", label: "Troubleshooting", link: { type: "generated-index", title: "Troubleshooting", slug: "troubleshooting", description: "Troubleshooting various issues", }, items: [ { type: "category", label: "Forward auth", items: ["troubleshooting/forward_auth/general"], link: { type: "generated-index", title: "Forward auth troubleshooting", slug: "troubleshooting/forward_auth", description: "Steps to help debug forward auth setups with various reverse proxies.", }, }, { type: "category", label: "PostgreSQL", items: ["troubleshooting/postgres/upgrade_kubernetes"], }, "troubleshooting/access", "troubleshooting/login", "troubleshooting/image_upload", "troubleshooting/missing_permission", "troubleshooting/missing_admin_group", "troubleshooting/csrf", "troubleshooting/emails", "troubleshooting/ldap_source", ], }, { type: "category", label: "Security", link: { type: "generated-index", title: "Security", slug: "security", }, items: [ "security/policy", "security/CVE-2023-39522", "security/CVE-2023-36456", "security/2023-06-cure53", "security/CVE-2023-26481", "security/CVE-2022-23555", "security/CVE-2022-46145", "security/CVE-2022-46172", ], }, ], }; docsSidebar.docs[0].value = generateVersionDropdown(docsSidebar); module.exports = docsSidebar;