K
Kinde4mo ago
Jayden

React SDK Sample CORS Error

Hi new to Kinde and just trying out the react sample at https://github.com/kinde-starter-kits/react-starter-kit I have updated the client id and domain to my application setup as React and has the call back urls set to http://localhost:3000. I can register a user and after login I get a CORS error. Am I missing something?
GitHub
GitHub - kinde-starter-kits/react-starter-kit: Starter kit for Reac...
Starter kit for React with Kinde. Contribute to kinde-starter-kits/react-starter-kit development by creating an account on GitHub.
No description
1 Reply
onderay
onderay4mo ago
Thanks for checking Kinde out. Getting the starterkit to run should be fairly straight forward. Did you change anything else in the starterkit? It sounds like you have set up most of the configuration correctly, but the CORS error indicates that there might be an issue with the allowed origins settings in your Kinde application. To resolve this, you need to ensure that your Kinde application is configured to allow requests from http://localhost:3000. Here are the steps to check and update your CORS settings: Log in to your Kinde account and navigate to the Settings page. Go to Applications and select your React application. Check the Allowed Origins section and make sure http://localhost:3000 is listed there. If it is not, add it.
Want results from more Discord servers?
Add your server