nodejs-connect-rest-sample
nodejs-connect-rest-sample copied to clipboard
[ARCHIVED] Use Microsoft Graph to access a user’s Microsoft account data from within a Node.js web application. This sample sends REST calls directly to the Microsoft Graph endpoint, and authenticates...
Trying to use this sample.. it prompts for signing in and consent, but afterwards it lands back on the home page (w/ the Connect to Microsoft Graph button). I see...
Ive Deployed the Node js web app as .azurewebsites.net , while connecting to the graph getting errors like invalid request with & unable to validate token also error AADSTS50011: The...
https://github.com/microsoftgraph/nodejs-connect-rest-sample/blob/a3d89c2280d4776c3a45a8541b8636b19d6d75b4/app.js#L99 Looks like line 99 will always override the error handling on line 87
In [`nodeSample.js`](https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/samples/node/node-sample.js) it looks like the token is coming from the [`secrets.example.json`.](https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/samples/node/secrets.example.json) I don't understand how to store it in there. I thought we receive the token when authenticate with...
I tried the sample on my Windows 10 Pro(ver1803 build 17134.345) PC, but it does not work well. I started the node sample as described in the tutorial. ``` >pwd...
I get the error : "{ "error": { "code": "BadRequest", "message": "Unable to read JSON request payload. Please ensure Content-Type header is set and payload is of valid JSON format.",...
I can login through the first step here it is Hi, PATHOMPONG CHAISRI (GABLE-NBP-EM)! You're now connected to Microsoft Graph. Click the button below to send a message from your...
Hi, After clicking "Connect to Microsoft Graph" still the page does not load anything. It stops in the main page itself. Any suggestions how to resolve this issue.
Hi: I found that guideline in README **#Register the application** 8._Enter http://localhost:3000/login as the Redirect URI._ have an error.Maybe the Redirect URI should be http://localhost:3000/token. thanks. DavinWu
Hi: I try to run the JavaScript demo code in nodejs,but it rutern an error page in chrome browser.When i sign into my Account,it give me an error tips in...