I got the token wiht Postman, but wiht js i cant get it. i have the problem with Cors Policy in every navigator
Get token Api
Daniel Muñoz Ramirez
0
Reputation points
im trying to use business central api with js in my portal but when i meke the request to get the token, i show this problem "lcxtesting.powerappsportals.com/:1 Access to XMLHttpRequest at 'https://login.microsoftonline.com/4423c900-c81b-4d29-a032-8433310bf02a/oauth2/v2.0/token' from origin 'https://lcxtesting.powerappsportals.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."