使用OAuth节点js将Microsoft Bot与Sharepoint集成

时间:2017-05-31 07:36:33

标签: node.js azure sharepoint azure-active-directory botframework

我指的是使用OAuth节点js将Microsoft Bot与Sharepoint集成的this blog post

点击登录按钮后,我们收到以下错误,我们收到错误。

enter image description here

由于 ANU

1 个答案:

答案 0 :(得分:0)

根据您提供的链接,它不包含经过验证的redrect_uri(redirect_uri = undefined),请仔细检查此参数是否已在launch.json中配置,如提及的链接:

"version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Lancer le programme",
            "program": "${workspaceRoot}\\server.js",
            "cwd": "${workspaceRoot}",
            "env":{
                "REDIRECT_URI": "https://0dd92b8d.ngrok.io/api/oauthcallback"
            }
        },