Skip to content

Commit dcba301

Browse files
Merge pull request #4125 from divyaamunugama/is-testing
Update add-authentications-based-on-api-calls.md
2 parents 2bdc5f2 + 9720eba commit dcba301

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

en/includes/guides/authentication/conditional-auth/add-authentications-based-on-api-calls.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ Follow the steps given below.
139139
var connectionMetadata = {
140140
"url": "<Choreo API URL>",
141141
"consumerKey": "<Consumer key of the Choreo application>",
142-
"consumerSecret": "<Consumer secret of the Choreo application>"
142+
"consumerSecret": "<Consumer secret of the Choreo application>",
143+
"asgardeoTokenEndpoint": "<Token endpoint of the tenant in Asgardeo>"
143144
};
144145
var onLoginRequest = function(context) {
145146
executeStep(1, {
@@ -189,6 +190,10 @@ Follow the steps given below.
189190
<td><code>consumerSecret</code></td>
190191
<td>The consumer secret of the Choreo application.</td>
191192
</tr>
193+
<tr>
194+
<td><code>asgardeoTokenEndpoint</code></td>
195+
<td>Token endpoint of the organization in Asgardeo. For example: <code>https://api.asgardeo.io/t/{org_name}/oauth2/token</code></td>
196+
</tr>
192197
</table>
193198

194199
??? note "Use a stored `Secret`"

0 commit comments

Comments
 (0)