Skip to content
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
12 changes: 6 additions & 6 deletions docs/kratos/organizations/organizations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

<ConsoleLink route="project.authentication.organizations" />.
<ConsoleLink route="project.organizations" />.

```mdx-code-block
</TabItem>
Expand Down Expand Up @@ -132,7 +132,7 @@ After creating an organization, continue by adding one or more SSO OIDC connecti
<TabItem value="console" label="Ory Console">
```

Go to <ConsoleLink route="project.authentication.organizations" /> and continue by configuring the selected organization.
Go to <ConsoleLink route="project.organizations" /> and continue by configuring the selected organization.

```mdx-code-block
</TabItem>
Expand Down Expand Up @@ -280,7 +280,7 @@ Before proceeding, ensure you are on a plan that supports SAML SSO. SAML is avai
<TabItem value="console" label="Ory Console">
```

1. Go to <ConsoleLink route="project.authentication.organizations" /> to create an organization.
1. Go to <ConsoleLink route="project.organizations" /> 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:

Expand Down Expand Up @@ -508,7 +508,7 @@ servers. Guided walkthroughs are available for Microsoft Entra ID, Google Worksp

##### Create a link

Go to <ConsoleLink route="project.authentication.organizations" /> and continue by configuring the selected organization.
Go to <ConsoleLink route="project.organizations" /> 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
Expand All @@ -517,7 +517,7 @@ link with the organization administrators.
```mdx-code-block
import BrowserWindow from "@site/src/theme/BrowserWindow"

<BrowserWindow url="https://console.ory.sh/projects/<id>/authentication/organizations/<id>/edit">
<BrowserWindow url="https://console.ory.sh/projects/<id>/organizations/<id>/onboarding-portal">
![Onboarding portal link](./_static/onboarding-portal-link.png)
</BrowserWindow>
```
Expand Down Expand Up @@ -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)

<BrowserWindow url="https://console.ory.sh/projects/<id>/authentication/organizations/<id>/edit">
<BrowserWindow url="https://console.ory.sh/projects/<id>/organizations/<id>/onboarding-portal">
![Onboarding portal link](./_static/onboarding-portal-link-mappers.png)
</BrowserWindow>

Expand Down
16 changes: 12 additions & 4 deletions src/components/ConsoleLink/console-nav-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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",
Expand Down Expand Up @@ -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,
Expand Down
38 changes: 29 additions & 9 deletions src/components/ConsoleLink/console-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Loading