CORS issue with native app using ionic from serve from localhost

I am using to get refreshed access token by calling ‘ url . but i am getting error
Access to XMLHttpRequest at '[https://’ (https://***’) from origin ‘http://localhost’ has been blocked by CORS policy: Request header field access-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response.

I checked my application setup in Auth0 and i have added http://localhost to
Allowed Callback URLs
Allowed Web Origins
Allowed Origins(CORS)

But still getting above error.
I am using Ionic 4 and ionic Auth Connect plugin or Auth0 integration.

I went through other similar posts in Auth0 Community but didn’t get any clue apart from above settings which are already in place.
Please provide some insight.

P.S - I am able to test and same request using Postman and i am getting results back.

Did you fix it? I have the same/ How did you solve it

We found that devloper was calling refresh token method unnecessarily. the plugin IONIC AuthConnect refreshes token by itself when acess token expired. We removed extra calll . So we didn’t need to fix it.