Auth0 works in Flutter when page has NO CORS headers, broken with CORS headers

I am deploying a Flutter Web app, and Auth0 works very well.
Recently, we have a need to add CORS headers to the single page that deploys our Flutter Web app.
When we add the CORS headers to our Flutter app, Auth0 authentication does not work.

To be specific, our Flutter web app has been tested and works well with Auth0 authentication when we do NOT have CORS headers on the page,
and (making just the one change) adding CORS headers makes Auth0 authentication stop working.

These are the headers we have added:

cross-origin-embedder-policy: require-corp
cross-origin-opener-policy: same-origin

Does anyone have any wisdom on how to address this?