Share via

Azure Easy Auth for bot framework node.js bot endpoint gives error.

Anonymous
2022-07-29T12:35:26.057+00:00

I am trying to implement easy auth for a server having api endpoints using restify and one api serves a static file in browser through which the bot can be accessed. If I add easy auth in azure portal, I am able to login and redirect to the page but getting not found error for the message posting api.

I thought adding the token will solve the error and so I tried to get token by adding token store in easy auth. If I do so, the page gets stuck in login.microsoft.online.

So, After these I tried changing the app registration platform from web to spa, since I am serving only one HTML file which has the bot rendered using webchat with secret.

But It gives error
Proof key for code exchange is required for cross origin code redemption.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

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