How i can solve the cors issue in React

Hello ,
I am intergrating stytch OTP apis in react but i face the issue was that
Access to XMLHttpRequest at ‘’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check
can anyone help me how to resolve this cors issue?

Could you try navigating to SDK configuration in the Stytch dashboard? From there, be sure that the SDK is enabled in your Test environment, and that http://localhost:3000 is added as an authorized domain. See the screenshot below for what your configuration page should look like.