CORS Error

Created by Drilon Brestovci, Modified on Thu, 11 May 2023 at 01:00 PM by Drilon Brestovci

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

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article