CORS error is usually a result when you try to use flow on the front end and it is not intended for that. It needs to be a backend call in order for it to work. It’s impossible to request a token via a front-end application.
Reason: There is no way to store the secret securely. If the secret is put in a frontend application, then basically every user has access to it.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article