We are seeing below error for a kong dev portal when Open Id Connect Authentication is enabled. Can someone help us in setting right props ?
Access to XMLHttpRequest at ‘*****’ (redirected from ‘https:// -portal-api. / /session’) from origin 'https:// -portal.*’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Tried setting following properties, didn’t help either.
NGINX_PROXY_SET_HEADER: Access-Control-Allow-Origin https:// -portal. .com
NGINX_PROXY_SET_HEADER: Origin https:// -portal. .com
portal_cors_origins: https:// -portal. .com