-
Notifications
You must be signed in to change notification settings - Fork 387
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
feat: vertical nav for quickstart and identity #2020
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,16 +85,10 @@ const referenceSidebar: ExtendSidebar = [ | |
] | ||
|
||
const quickstartSidebar = (flat: boolean): ExtendSidebar => { | ||
const items = [] | ||
if (!flat) { | ||
items.push(homeLink) | ||
} | ||
|
||
return [ | ||
...items, | ||
{ | ||
type: "category", | ||
label: "User authentication", | ||
label: "Start", | ||
collapsed: false, | ||
collapsible: false, | ||
link: { | ||
|
@@ -115,64 +109,6 @@ const quickstartSidebar = (flat: boolean): ExtendSidebar => { | |
"getting-started/integrate-auth/dotnet", | ||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Permissions and relationships", | ||
collapsed: false, | ||
collapsible: false, | ||
link: { | ||
type: "doc", | ||
id: "guides/permissions/overview", | ||
}, | ||
items: flat | ||
? [] | ||
: ["keto/examples/olymp-file-sharing", "keto/guides/rbac"], | ||
}, | ||
{ | ||
type: "category", | ||
label: "OAuth2 and OpenID", | ||
collapsed: false, | ||
collapsible: false, | ||
link: { | ||
type: "doc", | ||
id: "guides/oauth2-openid-connect", | ||
}, | ||
items: flat | ||
? [] | ||
: [ | ||
"getting-started/ory-network-oauth2", | ||
"getting-started/oauth2-openid/expressjs", | ||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Software Development Kits", | ||
collapsed: false, | ||
collapsible: false, | ||
link: { | ||
type: "doc", | ||
id: "quickstart/sdks", | ||
}, | ||
items: flat | ||
? [] | ||
: [ | ||
{ | ||
type: "category", | ||
label: "Identity Management", | ||
items: ["kratos/sdk/go"], | ||
}, | ||
{ | ||
type: "category", | ||
label: "OAuth2 & OpenID Connect", | ||
items: ["hydra/sdk/js", "hydra/sdk/go"], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Permissions", | ||
items: ["keto/sdk/go", "keto/sdk/python"], | ||
}, | ||
], | ||
}, | ||
] | ||
} | ||
const guidesSidebar = (flat: boolean): ExtendSidebar => { | ||
|
@@ -203,6 +139,10 @@ const guidesSidebar = (flat: boolean): ExtendSidebar => { | |
{ | ||
type: "category", | ||
label: "OpenID Connect SSO", | ||
link: { | ||
type: "doc", | ||
id: "guides/oauth2-openid-connect", | ||
}, | ||
items: [ | ||
"kratos/social-signin/overview", | ||
{ | ||
|
@@ -486,7 +426,7 @@ const troubleshootingSidebar = [ | |
] | ||
|
||
const identitiesSidebar = [ | ||
homeLink, | ||
// homeLink, | ||
{ | ||
type: "category", | ||
label: "Concepts", | ||
|
@@ -500,68 +440,93 @@ const identitiesSidebar = [ | |
"security-model", | ||
"identities/native-browser", | ||
"concepts/redirects", | ||
{ | ||
type: "category", | ||
label: "User flows", | ||
link: { | ||
type: "doc", | ||
id: "kratos/self-service", | ||
}, | ||
items: [ | ||
"kratos/concepts/browser-redirect-flow-completion", | ||
"kratos/self-service/flows/user-registration", | ||
"kratos/self-service/flows/user-login", | ||
"kratos/self-service/flows/user-logout", | ||
"kratos/self-service/flows/user-settings", | ||
"kratos/self-service/flows/verify-email-account-activation", | ||
"kratos/self-service/flows/account-recovery-password-reset", | ||
"kratos/self-service/flows/user-facing-errors", | ||
], | ||
}, | ||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Self-service user flows", | ||
collapsed: false, | ||
collapsible: false, | ||
link: { | ||
type: "doc", | ||
id: "kratos/self-service", | ||
}, | ||
items: [ | ||
"kratos/concepts/browser-redirect-flow-completion", | ||
"kratos/self-service/flows/user-registration", | ||
"kratos/self-service/flows/user-login", | ||
"kratos/self-service/flows/user-logout", | ||
"kratos/self-service/flows/user-settings", | ||
"kratos/self-service/flows/verify-email-account-activation", | ||
"kratos/self-service/flows/account-recovery-password-reset", | ||
"kratos/self-service/flows/user-facing-errors", | ||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Authentication", | ||
label: "Guides", | ||
collapsed: false, | ||
collapsible: false, | ||
link: { | ||
type: "doc", | ||
id: "kratos/concepts/credentials", | ||
}, | ||
items: [ | ||
"concepts/password-policy", | ||
"kratos/passwordless/passwordless", | ||
"kratos/mfa/overview", | ||
"getting-started/local-development", | ||
{ | ||
type: "category", | ||
label: "Authenctication", | ||
items: [ | ||
"getting-started/local-development", | ||
"kratos/concepts/credentials/username-email-password", | ||
"kratos/passwordless/passkeys", | ||
"kratos/passwordless/one-time-code", | ||
"kratos/organizations/organizations", | ||
"kratos/emails-sms/custom-email-templates", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the custom email templates doc is different than the others in this category - maybe it makes sense for emails/communication to have their own category? or move it to the "configuration" category? |
||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Multi-factor authentication", | ||
link: { | ||
type: "doc", | ||
id: "kratos/mfa/overview", | ||
}, | ||
items: [ | ||
"kratos/mfa/lookup-secrets", | ||
"kratos/mfa/totp", | ||
"kratos/mfa/webauthn-fido-yubikey", | ||
"kratos/mfa/mfa-via-sms", | ||
"kratos/mfa/step-up-authentication", | ||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Credentials", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. wouldn't the other auth methods like |
||
link: { | ||
type: "doc", | ||
id: "kratos/concepts/credentials", | ||
}, | ||
items: ["concepts/password-policy", "kratos/passwordless/passwordless"], | ||
}, | ||
{ | ||
type: "category", | ||
label: "User interface", | ||
link: { | ||
type: "doc", | ||
id: "kratos/bring-your-own-ui/custom-ui-overview", | ||
}, | ||
items: [ | ||
"account-experience/index", | ||
"kratos/bring-your-own-ui/configure-ory-to-use-your-ui", | ||
], | ||
}, | ||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "User interface", | ||
collapsed: false, | ||
collapsible: false, | ||
link: { | ||
type: "doc", | ||
id: "kratos/bring-your-own-ui/custom-ui-overview", | ||
}, | ||
label: "Configuration", | ||
items: [ | ||
"account-experience/index", | ||
"kratos/bring-your-own-ui/configure-ory-to-use-your-ui", | ||
"identities/sign-in/two-step-registration", | ||
"identities/sign-in/identifier-first-authentication", | ||
"identities/sign-in/login-hint", | ||
"identities/sign-in/actions", | ||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Send Emails & SMS", | ||
collapsed: false, | ||
collapsible: false, | ||
link: { | ||
type: "doc", | ||
id: "kratos/emails-sms/custom-email-templates", | ||
}, | ||
items: ["kratos/emails-sms/custom-email-templates"], | ||
}, | ||
] | ||
|
||
const oauth2Sidebar = [ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.