OAuth API cors origin error

Hello - quick question about the Team API. I want to call oauth api using axios (React JS Technology) as I am getting cors policy error is there any solution available ?

:wave: Cors errors generally happen when you call Square APIs with just a frontend. You’ll need to have a server side configured to make API calls to Square. :slightly_smiling_face: