Get token Api

Daniel Muñoz Ramirez 0 Reputation points
2023-05-31T11:23:47.87+00:00

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."

Azure Data Share
Azure Data Share
An Azure service that is used to share data from multiple sources with other organizations.
55 questions
Azure SQL Database
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,004 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,960 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Muñoz Ramirez 0 Reputation points
    2023-06-01T06:49:12.0133333+00:00

    I got the token wiht Postman, but wiht js i cant get it. i have the problem with Cors Policy in every navigator

    0 comments No comments

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.