how to solve CORS MISSING ALLOW ORIGIN error for micro soft power bi azure APIs

Infionic Power BI 0 Reputation points
2023-11-10T05:37:17.7533333+00:00

i am trying to get the access_token dynamically from frontend using react js for the API

"**GET https://login.microsoftonline.com/TenantID/oauth2/v2.0/token**"

by giving body parameters as

client_id:

client_secret:

scope:

grant_type:

redirect_uri:

But i am getting CORS MISSING ALLOW ORIGIN error .
How can i solve it ?

Is there any option to enable cors origin from react js ?

Give me the solution

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,021 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.