About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
put https://{tenanturl}/v1.0/config/sessionexchange
The REST interface to set the configuration for session exchange. This is the list of allowed redirect_url that can be used in the TokenExchange API for a tenant.
{ "redirectUrls": [ "https://url_regex_1", "https://url_reg_ex2" ] }
'redirectUrls' The entries in the list are treated as regular expressions.
When calling the TokenExchange API, the redirect_url parameter must match one of these conditions:
- URL paths that start with the tenant domain are allowed by default, "https://tenantname.com".
- Relative paths, that start with "/", are allowed by default.
- Else, it must match one of the regular expressions in this list.
Responses
204Success. Session exchange config was updated.