Hi
where should i set the flags for CORS for customer portal, i identify HTTP/Access-Control-Allow-Origin in site setting but i'm still getting the error
any idea
*This post is locked for comments
Hi
where should i set the flags for CORS for customer portal, i identify HTTP/Access-Control-Allow-Origin in site setting but i'm still getting the error
any idea
*This post is locked for comments
Life would be too easy if links remained static. Looks like the right place to go for the CORS details is currently
( and not https://docs.microsoft.com/en-us/dynamics365/customer-engagement/portals/cors-protocol-support )
Mike
I used them but still getting the error
i fix it with jsonp data type
the setting was
name: HTTP/Access-Control-Allow-Origin
value: * (First i tried only the URL i want it but it was not working so i put *)
Error: No 'Access-Control-Allow-Origin' header is present on the requested resource
Hello,
'HTTP/Access-Control-Allow-Origin' is the correct setting.
What do you have it set to exactly? And what it the exact error message?
You can either specify specific hosts or use "*" to allow all origins.
Also don't forget to look at 'HTTP/Access-Control-Allow-Methods' to make sure you are allowing the required method (GET, OPTIONS, POST)
These are all the CORS settings for portals, for reference:
https://docs.microsoft.com/en-us/dynamics365/customer-engagement/portals/cors-protocol-support
André Arnaud de Cal...
292,865
Super User 2025 Season 1
Martin Dráb
231,723
Most Valuable Professional
nmaenpaa
101,156
Moderator