Skip to content

docs: update labels and restructure items for OAuth2 documentation #2092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 3 additions & 4 deletions src/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const homeLink: SidebarItem = {

const openIdSSO: SidebarItemConfig = {
type: "category",
label: "OpenID Connect SSO",
label: "OAuth2 client",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it's just me but I find this very unclear / have no idea what is in this category before I open it.

Wouldn't OIDC be the thing that everyone knows here?

link: {
type: "doc",
id: "guides/oauth2-openid-connect",
Expand Down Expand Up @@ -249,6 +249,7 @@ const identities: SidebarItemsConfig = [
"identities/native-browser",
"concepts/redirects",
"kratos/hooks/configure-hooks",
"oauth2-oidc/overview/oidc-concepts",
],
},
{
Expand Down Expand Up @@ -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",
],
Expand All @@ -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",
Expand Down
Loading