-
Notifications
You must be signed in to change notification settings - Fork 414
Add Asgardeo docs for enhanced organization authentication #6134
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| {% set host_name = "api.asgardeo.io" %} | ||
| {% set organization_path_param = "/t/<root_organization_name>" %} | ||
|
|
||
| {% include "../../../../../includes/guides/organization-management/organization-discovery/index.md" %} | ||
| {% include "../../../../../includes/guides/organization-management/organization-discovery/organization-discovery-enhanced-flow.md" %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| {% set host_name = "api.asgardeo.io" %} | ||
| {% set organization_path_param = "" %} | ||
|
Check warning on line 2 in en/asgardeo/docs/guides/organization-management/organization-login/legacy-approach.md
|
||
|
|
||
| {% include "../../../../../includes/guides/organization-management/organization-login/legacy-approach.md" %} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| {% set host_name = "api.asgardeo.io" %} | ||
| {% set organization_path_param = "" %} | ||
|
Check warning on line 2 in en/asgardeo/docs/guides/organization-management/organization-login/migrate-to-enhanced-approach.md
|
||
|
|
||
| {% include "../../../../../includes/guides/organization-management/organization-login/migrate-organization-login.md" %} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| {% set host_name = "api.asgardeo.io" %} | ||
| {% set organization_path_param = "" %} | ||
|
Check warning on line 2 in en/asgardeo/docs/guides/organization-management/organization-login/organization-login-overview.md
|
||
|
|
||
| {% include "../../../../../includes/guides/organization-management/organization-login/organization-login-overview.md" %} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| {% set host_name = "api.asgardeo.io" %} | ||
| {% set organization_path_param = "" %} | ||
|
Check warning on line 2 in en/asgardeo/docs/guides/organization-management/organization-login/organization-login-with-app-native-authentication.md
|
||
|
|
||
| {% include "../../../../../includes/guides/organization-management/organization-login/organization-login-with-app-native-authentication.md" %} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,15 +13,29 @@ | |
|
|
||
| After the user clicks **Sign in with SSO**, they are redirected to the organization discovery page where they identify their organization. | ||
|
|
||
| {% if product_name == "Asgardeo" %} | ||
| By default, users are prompted to enter the **organization name**. | ||
|
|
||
| {: width="400" style="display: block; margin: 0; border: 0.3px solid lightgrey;"} | ||
|
Check warning on line 19 in en/includes/guides/organization-management/organization-discovery/organization-discovery-enhanced-flow.md
|
||
| {% else %} | ||
| By default, users are prompted to enter the **organization handle** — a human-readable, unique identifier for the organization. | ||
|
|
||
| {: width="400" style="display: block; margin: 0; border: 0.3px solid lightgrey;"} | ||
| {% endif %} | ||
|
|
||
| ### Available discovery types | ||
|
|
||
| {{ product_name }} supports the following discovery types: | ||
|
|
||
| {% if product_name == "WSO2 Identity Server" and is_version > "7.1.0" %} | ||
| {% if product_name == "Asgardeo" %} | ||
|
|
||
| | Discovery Type | Use Case | | ||
| |-----------------------------------|-----------------------------------------------------------| | ||
| | **Organization Name-Based** | Route users using the organization name. | | ||
| | **Organization ID-Based** | Route users using the organization ID. Suitable for server-side integrations. | | ||
| | **Email Domain-Based** | Automatically identify organizations from email domains. Ideal for corporate email addresses. | | ||
|
|
||
| {% elif product_name == "WSO2 Identity Server" and is_version > "7.1.0" %} | ||
|
Check warning on line 38 in en/includes/guides/organization-management/organization-discovery/organization-discovery-enhanced-flow.md
|
||
|
|
||
| | Discovery Type | Use Case | | ||
| |-----------------------------------|-----------------------------------------------------------| | ||
|
|
@@ -35,7 +49,8 @@ | |
|
|
||
| --- | ||
|
|
||
| {% if product_name == "WSO2 Identity Server" %} | ||
| ## Configure default parameter for organization discovery | ||
|
Check failure on line 53 in en/includes/guides/organization-management/organization-discovery/organization-discovery-enhanced-flow.md
|
||
|
|
||
| You can set the default discovery parameter for organization discovery across your server or for your root organization. This configuration determines which parameter users provide during SSO login. It affects the user experience. | ||
|
|
||
|
|
@@ -98,12 +113,14 @@ | |
|
|
||
| {: width="400" style="display: block; margin: 0; border: 0.3px solid lightgrey;"} | ||
|
|
||
| {% endif %} | ||
|
Check failure on line 116 in en/includes/guides/organization-management/organization-discovery/organization-discovery-enhanced-flow.md
|
||
| --- | ||
|
|
||
| ## Directly access the organization | ||
|
Check failure on line 119 in en/includes/guides/organization-management/organization-discovery/organization-discovery-enhanced-flow.md
|
||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
|
|
||
| To route users directly to their organization's login page without showing the discovery page, include an organization discovery parameter in the initial authentication request. {{ product_name }} resolves the organization from the parameter and routes the user to that organization's login page automatically. | ||
|
|
||
| {% if product_name != "Asgardeo" %} | ||
| === "Organization Handle" | ||
|
|
||
| Add `orgHandle=<organization_handle>` to the authentication request. | ||
|
|
@@ -129,6 +146,7 @@ | |
|
|
||
| **Example**: For an organization with handle `"abc.com"`, add `orgHandle=abc.com` to the request. | ||
|
|
||
| {% endif %} | ||
| === "Organization Name" | ||
|
|
||
| Add `org=<organization_name>` to the authentication request. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.