From 8815aedda2f273c317bab4efd2ad337afa60be07 Mon Sep 17 00:00:00 2001 From: Christian Nwamba Date: Wed, 2 Apr 2025 09:25:47 +0100 Subject: [PATCH] docs: update labels and restructure items for OAuth2 documentation --- src/navbar.ts | 2 +- src/sidebar.ts | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/navbar.ts b/src/navbar.ts index 2079e3e2a..729e53f2d 100644 --- a/src/navbar.ts +++ b/src/navbar.ts @@ -27,7 +27,7 @@ export const navbar: Navbar = { { to: "/docs/getting-started/ory-network-oauth2", // to: "/docs/federation", // TODO: Use this route - label: "OAuth2/OIDC", + label: "OAuth2", }, { to: "/docs/guides/permissions/overview", diff --git a/src/sidebar.ts b/src/sidebar.ts index 7642bb61f..8b1c66734 100644 --- a/src/sidebar.ts +++ b/src/sidebar.ts @@ -17,7 +17,7 @@ const homeLink: SidebarItem = { const openIdSSO: SidebarItemConfig = { type: "category", - label: "OpenID Connect SSO", + label: "OAuth2 client", link: { type: "doc", id: "guides/oauth2-openid-connect", @@ -249,6 +249,7 @@ const identities: SidebarItemsConfig = [ "identities/native-browser", "concepts/redirects", "kratos/hooks/configure-hooks", + "oauth2-oidc/overview/oidc-concepts", ], }, { @@ -475,7 +476,6 @@ const oauth2: SidebarItemsConfig = [ }, items: [ "oauth2-oidc/overview/oauth2-concepts", - "oauth2-oidc/overview/oidc-concepts", "hydra/concepts/before-oauth2", "hydra/security-architecture", ], @@ -491,10 +491,9 @@ const oauth2: SidebarItemsConfig = [ id: "hydra/guides/oauth2-token-introspection", }, items: [ - openIdSSO, { type: "category", - label: "Flows", + label: "Flow", link: { type: "doc", id: "oauth2-oidc/authorization-code-flow",