@Tim Horwood Thank you for reaching out to Microsoft Q&A, Apologize for the inconvenience caused on this.
Could you please help us with error message when you have tried to add the domain of frontend webapp as CORS origin to the nodejs app service?
Instead of adding specific origin url can you try adding the wildcard and check whether it is working or not?
Refer to this documentation on App service CORs or your own CORS and enable it accrodingly
It is recommended for troubleshooting CORS issues to proceed with the following steps in order to determine the issue:-
- Make sure that the CORS destination URL is included in the CORS settings list.
- If the requests are requesting credentials, make sure to check Access-Control-Allow-Credentials.
- Capture HAR File to identify the requests that are failing in order to identify if the contact URL is the one listed in CORS Settings.
Feel free to reach back to me if you have any further questions on this.