Getting CORS error even after allowing the domain in API trusted Origins field

We have configured SSO on our OKTA account [developer@***.com] and have setup one application having SP as (

We are correctly authenticated by OKTA when we put the URL in browser and we can access our Vizerto application. But when the JSESSIONID is expired in our application then we need to redirect to OKTA authentication page but we are getting following error:

“Access to XMLHttpRequest at ‘’ from origin ‘[]’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”

We get this error even after adding our domain “[]” to trusted Origins under API on OKTA setup.

ensure you pay attention to the end ‘/’. The urls must be exact matches for it to work

@abroadhurst Yes, I checked that and as mentioned in the error as well the URL of host is: and I have configured it in trust source exactly same :