Skip to content

Commit 141a2d7

Browse files
Merge pull request #6070 from ShanChathusanda93/issuer-selection-doc-impr-branch
Add documentation for issuer selection capability for organization applications
2 parents d71125c + 40c90ef commit 141a2d7

16 files changed

Lines changed: 117 additions & 6 deletions

File tree

201 KB
Loading
340 KB
Loading
424 KB
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{% set root_org_url = "https://api.asgardeo.io/t/{root-organization-name}" %}
22

3-
{% include "../../../../includes/guides/organization-management/organization-applications.md" %}
3+
{% include "../../../../includes/guides/organization-management/organization-applications.md" %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% include "../../../../includes/guides/organization-management/select-token-issuer-for-organization-apps.md" %}

en/asgardeo/mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,9 @@ nav:
528528
- Self-service approach: guides/organization-management/onboard-org-admins/self-service-approach.md
529529
- Configure organization applications:
530530
- Share applications: guides/organization-management/share-applications.md
531-
- Create organization applications: guides/organization-management/organization-applications.md
531+
- Organization applications:
532+
- Create applications: guides/organization-management/organization-applications.md
533+
- Select token issuer: guides/organization-management/select-token-issuer-for-organization-apps.md
532534
- Manage conflicts in organizations: guides/organization-management/manage-conflicts-in-organizations.md
533535
- Authorize API resources:
534536
- Overview: guides/organization-management/api-authorization-overview.md

en/identity-server/next/docs/apis/organization-apis/restapis/org-application-mgt.yaml

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ paths:
155155
method: "A128CBC+HS256"
156156
scopeValidators:
157157
- "Role based scope validator"
158+
issuer:
159+
organizationId: "bdece142-646b-45c0-9385-a4159f1ea219"
160+
tenantDomain: "wso2-sub.com"
161+
value: "https://localhost:9443/t/carbon.super/o/bdece142-646b-45c0-9385-a4159f1ea219/oauth2/token"
158162
description: This represents the application to be created.
159163
required: true
160164
responses:
@@ -259,7 +263,12 @@ paths:
259263
},
260264
"scopeValidators": [
261265
"Role based scope validator"
262-
]
266+
],
267+
"issuer": {
268+
"organizationId": "bdece142-646b-45c0-9385-a4159f1ea219",
269+
"tenantDomain": "wso2-sub.com",
270+
"value": "https://localhost:9443/t/carbon.super/o/bdece142-646b-45c0-9385-a4159f1ea219/oauth2/token"
271+
}
263272
}
264273
}
265274
}'
@@ -925,6 +934,10 @@ paths:
925934
subjectType: "public"
926935
sectorIdentifierUri: "https://app.example.com"
927936
isFAPIApplication: false
937+
issuer:
938+
organizationId: "bdece142-646b-45c0-9385-a4159f1ea219"
939+
tenantDomain: "wso2-sub.com"
940+
value: "https://localhost:9443/t/carbon.super/o/bdece142-646b-45c0-9385-a4159f1ea219/oauth2/token"
928941
'400':
929942
description: Bad Request
930943
content:
@@ -1063,7 +1076,12 @@ paths:
10631076
"subjectType": "public",
10641077
"sectorIdentifierUri": "https://app.example.com"
10651078
},
1066-
"isFAPIApplication": false
1079+
"isFAPIApplication": false,
1080+
"issuer": {
1081+
"organizationId": "bdece142-646b-45c0-9385-a4159f1ea219",
1082+
"tenantDomain": "wso2-sub.com",
1083+
"value": "https://localhost:9443/t/carbon.super/o/bdece142-646b-45c0-9385-a4159f1ea219/oauth2/token"
1084+
}
10671085
}'
10681086
requestBody:
10691087
content:
@@ -1111,6 +1129,10 @@ paths:
11111129
subjectType: "public"
11121130
sectorIdentifierUri: "https://app.example.com"
11131131
isFAPIApplication: false
1132+
issuer:
1133+
organizationId: "bdece142-646b-45c0-9385-a4159f1ea219"
1134+
tenantDomain: "wso2-sub.com"
1135+
value: "https://localhost:9443/t/carbon.super/o/bdece142-646b-45c0-9385-a4159f1ea219/oauth2/token"
11141136
description: >-
11151137
This represents the OIDC authentication protocol parameters of an
11161138
application.
@@ -2208,6 +2230,8 @@ components:
22082230
default: false
22092231
description: Enabling this option will make the application FAPI conformant.
22102232
example: false
2233+
issuer:
2234+
$ref: '#/components/schemas/AllowedIssuer'
22112235
OAuth2PKCEConfiguration:
22122236
type: object
22132237
properties:
@@ -2361,6 +2385,23 @@ components:
23612385
sectorIdentifierUri:
23622386
type: string
23632387
example: 'https://app.example.com'
2388+
AllowedIssuer:
2389+
type: object
2390+
properties:
2391+
value:
2392+
type: string
2393+
readOnly: true
2394+
description: The issuer URL of the allowed issuer organization.
2395+
example: "https://localhost:9443/t/carbon.super/o/bdece142-646b-45c0-9385-a4159f1ea219/oauth2/token"
2396+
organizationId:
2397+
type: string
2398+
description: Organization ID of the allowed issuer.
2399+
example: "bdece142-646b-45c0-9385-a4159f1ea219"
2400+
tenantDomain:
2401+
type: string
2402+
readOnly: true
2403+
description: Tenant domain of the allowed issuer.
2404+
example: "wso2-sub.com"
23642405
OIDCLogoutConfiguration:
23652406
type: object
23662407
properties:
447 KB
Loading
Loading
342 KB
Loading

0 commit comments

Comments
 (0)