You can create 1 app registration per host or 1 for both. Regarding the CORS issue if it's coming from your BE then take a look to Enabling Cross Origin Requests for a RESTful Web Service. If the error comes from Azure AD then please detail it.
Please let us know if this answer was helpful to you. If so, please remember to mark it as the answer so that others in the community with similar questions can more easily find a solution.