Skip to content

Commit 85d5777

Browse files
Merge pull request #6140 from UdeshAthukorala/improve-action-docs
Improve Documentation on OAuth2 client credentials and password grant based authentication support for actions
2 parents cdaf2d7 + 447758e commit 85d5777

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

en/includes/guides/service-extensions/pre-flow-extensions/action-versions/pre-issue-id-token-action-v1.x.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ Configure the authentication scheme when registering the action in {{product_nam
565565
- **OAuth 2.0 Password Grant**: {{product_name}} retrieves an access token from the configured token endpoint using the OAuth 2.0 resource owner password credentials grant and uses it as a bearer token when invoking the action endpoint.
566566

567567
!!! warning
568-
If you use your own {{product_name}} organization as the authorization server (that is, the configured token endpoint belongs to the same organization and the OAuth 2.0 application used to obtain the access token resides in the same organization), exclude that application from this **Pre-Issue ID Token** action (and the **Pre-Issue Access Token** action) by configuring a rule. Otherwise the token issuance flow will fall into a cyclic dependency, since the action invocation triggers a token request, which in turn triggers the same action again. As a result, the ID token and access token issuance will break.
568+
If you use the same {{product_name}} organization as the authorization server, you must exclude the application used to get the access token in action authorization from this **Pre-Issue ID Token** action (and the **Pre-Issue Access Token** action) by configuring a rule. Otherwise, ID token and access token issuance will break.
569569
{% endif %}
570570

571571
## Conditional invocation of pre-issue id token action

en/includes/guides/service-extensions/pre-flow-extensions/setting-up-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Follow the steps below to configure an action.
5757
- OAuth 2.0 Password Grant - Provide the token endpoint, client ID, client secret, username, password, and optionally a space-separated list of scopes. {{product_name}} retrieves a fresh access token from the configured token endpoint using the OAuth 2.0 resource owner password credentials grant and uses it as a bearer token when invoking the action endpoint.
5858

5959
!!! warning
60-
If you use your own {{product_name}} organization as the authorization server (that is, the configured token endpoint belongs to the same organization and the OAuth 2.0 application used to obtain the access token resides in the same organization), you must exclude that application from the **Pre-Issue Access Token** and **Pre-Issue ID Token** actions by configuring a rule. Otherwise the token issuance flow will fall into a cyclic dependency, since the action invocation triggers a token request, which in turn triggers the same action again. As a result, the access token and ID token issuance will break.
60+
If you use the same {{product_name}} organization as the authorization server, you must exclude the application used to get the access token in action authorization from the **Pre-Issue Access Token** and **Pre-Issue ID Token** actions by configuring a rule. Otherwise, access token and ID token issuance will break.
6161
{% endif %}
6262
- No Authentication - No authentication (recommended only for testing purposes).
6363

0 commit comments

Comments
 (0)