Referrer Policy: strict-origin-when-cross-origin

saravanan arumugam 20 Reputation points
2024-10-03T05:32:33.3533333+00:00

Hi ,

I have written a service to fetch the group list from the Azure portal, and that service is working as expected. However, when I call the endpoints from another client application (Next.js), I am getting a cross-origin issue.

Please do the needful.

Auth Service:http://localhost:3001/azure-ad/OAuth?searchTerm=staff
Client App: http://localhost:3000/

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-10-03T05:59:56.4433333+00:00

    Hi @saravanan arumugam

    This is a cross-origin problem, and it's not really related to the Graph API, but I've found documentation for solving cross-origin problems that I hope will help you.

    Solving cross-origin problems:

    https://blog.logrocket.com/using-cors-next-js-handle-cross-origin-requests/

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


0 additional answers

Sort by: Most helpful

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.