From a17655fe7c35fa1a346e934726e2679bf23947d1 Mon Sep 17 00:00:00 2001 From: Artem Gurzhii Date: Wed, 12 Dec 2018 17:33:17 +0100 Subject: [PATCH] Fix `tokenReceivedCallback` body token name --- JavaScriptSPA/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JavaScriptSPA/index.html b/JavaScriptSPA/index.html index 721df6e..3a4ef7d 100644 --- a/JavaScriptSPA/index.html +++ b/JavaScriptSPA/index.html @@ -99,7 +99,7 @@

{ if(tokenType === "access_token") { - callMSGraph(applicationConfig.graphEndpoint, accessToken, graphAPICallback); + callMSGraph(applicationConfig.graphEndpoint, token, graphAPICallback); } else { console.log("token type is:"+tokenType); }