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