diff --git a/docs/kratos/organizations/organizations.mdx b/docs/kratos/organizations/organizations.mdx index c0e380175..e4514ff48 100644 --- a/docs/kratos/organizations/organizations.mdx +++ b/docs/kratos/organizations/organizations.mdx @@ -65,7 +65,7 @@ Organizations require identifier-first authentication and two-step registration To create, update, or delete organizations via the Ory Console, go to -. +. ```mdx-code-block @@ -132,7 +132,7 @@ After creating an organization, continue by adding one or more SSO OIDC connecti ``` -Go to and continue by configuring the selected organization. +Go to and continue by configuring the selected organization. ```mdx-code-block @@ -280,7 +280,7 @@ Before proceeding, ensure you are on a plan that supports SAML SSO. SAML is avai ``` -1. Go to to create an organization. +1. Go to to create an organization. 2. Select "Add a new Enterprise SAML SSO connection" and follow the instructions to configure the SAML connection. Fill out the following form fields: @@ -508,7 +508,7 @@ servers. Guided walkthroughs are available for Microsoft Entra ID, Google Worksp ##### Create a link -Go to and continue by configuring the selected organization. +Go to and continue by configuring the selected organization. On the **Edit Organization** page, under the **Onboarding Portal** section, click **Generate link**. If your project has a custom domain configured, you must choose between the project slug and the custom domain as the link's base URL. You can then share this @@ -517,7 +517,7 @@ link with the organization administrators. ```mdx-code-block import BrowserWindow from "@site/src/theme/BrowserWindow" - + ![Onboarding portal link](./_static/onboarding-portal-link.png) ``` @@ -552,7 +552,7 @@ For social sign-in, all upstream data is available as `std.extVar('claims')`, in non-standard fields. [Social Sign-In mapping](https://www.ory.com/docs/kratos/social-signin/data-mapping#write-a-jsonnet-data-mapper) - + ![Onboarding portal link](./_static/onboarding-portal-link-mappers.png) diff --git a/src/components/ConsoleLink/console-nav-data.ts b/src/components/ConsoleLink/console-nav-data.ts index 5b712d063..f04baa230 100644 --- a/src/components/ConsoleLink/console-nav-data.ts +++ b/src/components/ConsoleLink/console-nav-data.ts @@ -97,10 +97,6 @@ export const authenticationPaths: Path[] = [ href: routes.project.saml.route, pill: "Preview", }, - { - title: "Organizations", - href: routes.project.authentication.organizations.route, - }, { title: "Sessions", href: routes.project.authentication.sessionSettings.route, @@ -127,6 +123,13 @@ export const authenticationPaths: Path[] = [ }, ] +export const organizationsPaths: Path[] = [ + { + title: "All organizations", + href: routes.project.organizations.route, + }, +] + export const oauthPaths: Path[] = [ { title: "Clients and applications", @@ -235,6 +238,11 @@ export const projectPaths: RootPath[] = [ href: routes.project.authentication.route, paths: authenticationPaths, }, + { + title: "Organizations", + href: routes.project.organizations.route, + paths: organizationsPaths, + }, { title: "Branding", href: routes.project.accountExperience.theming.route, diff --git a/src/components/ConsoleLink/console-routes.ts b/src/components/ConsoleLink/console-routes.ts index 09336423a..7acf111d0 100644 --- a/src/components/ConsoleLink/console-routes.ts +++ b/src/components/ConsoleLink/console-routes.ts @@ -251,15 +251,35 @@ export const routes = { href: (project: string) => `/projects/${project}/authentication/sessions`, }, - organizations: { - route: "/projects/[project]/authentication/organizations", - href: (project: string) => - `/projects/${project}/authentication/organizations`, - edit: { - route: "/projects/[project]/authentication/organizations/[id]", - href: (project: string, id: string) => - `/projects/${project}/authentication/organizations/${id}`, - }, + }, + organizations: { + route: "/projects/[project]/organizations", + href: (project: string) => `/projects/${project}/organizations`, + details: { + route: "/projects/[project]/organizations/[organization]", + href: (project: string, organization: string) => + `/projects/${project}/organizations/${organization}`, + }, + b2bSso: { + route: "/projects/[project]/organizations/[organization]/b2b-sso", + href: (project: string, organization: string) => + `/projects/${project}/organizations/${organization}/b2b-sso`, + }, + onboardingPortal: { + route: + "/projects/[project]/organizations/[organization]/onboarding-portal", + href: (project: string, organization: string) => + `/projects/${project}/organizations/${organization}/onboarding-portal`, + }, + scim: { + route: "/projects/[project]/organizations/[organization]/scim", + href: (project: string, organization: string) => + `/projects/${project}/organizations/${organization}/scim`, + }, + identities: { + route: "/projects/[project]/organizations/[organization]/identities", + href: (project: string, organization: string) => + `/projects/${project}/organizations/${organization}/identities`, }, }, hostedUI: {