You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/includes/guides/authentication/conditional-auth/configure-conditional-auth.md
+4-11Lines changed: 4 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,19 +39,13 @@ There are two ways to add a conditional authentication script:
39
39
40
40
{% endif %}
41
41
42
+
{% if product_name == "Asgardeo" or (product_name == "WSO2 Identity Server" and is_version >= "7.1.0") %}
43
+
42
44
## Add a secret to the script
43
45
Secrets securely store values associated with external APIs. These secret values are used in conditional authentication scripts when {{ product_name }} is required to interact with an external API (service endpoint) during the authentication process.
44
46
45
-
{% if product_name == "Asgardeo" or (product_name == "WSO2 Identity Server" and is_version != "7.0.0") %}
46
-
47
47
You can securely store these secret values on the {{ product_name }} Console and retrieve them whenever required for conditional authentication script.
48
48
49
-
{% else %}
50
-
51
-
You can securely store these secret values on the {{ product_name }} Console and retrieve them whenever required for `callChoreo()` conditional authentication function.
52
-
53
-
{% endif %}
54
-
55
49
56
50
57
51
### Create a new secret
@@ -104,7 +98,6 @@ To add a new secret:
104
98
105
99
6. Click **Finish** to complete the creation.
106
100
107
-
{% if product_name == "Asgardeo" or (product_name == "WSO2 Identity Server" and is_version != "7.0.0") %}
108
101
109
102
### Use secret in the script
110
103
@@ -116,8 +109,6 @@ var secretValue = secrets.secretName;
116
109
117
110
This allows you to securely access secret values within your authentication scripts, enhancing the security and flexibility of your authentication process.
118
111
119
-
{% endif %}
120
-
121
112
### Delete an existing secret
122
113
123
114
To delete an existing secret:
@@ -144,3 +135,5 @@ To delete an existing secret:
144
135
4. Click the trash icon next to the secret you wish to delete.
0 commit comments