Microsoft Graph API oAuth

Occasional Contributor

Hello All,


I am trying to authenticate my azure application with oAuth api. I could not able to do it.


Hello.Js is throwing error of 'Cannot read response_type property of undefined'.


Can anyone guide how to do it using typescript or any framework supported by SharePoint Framework.


Ref LInk;



1 Reply

Please change Like below in  /public/scripts/config.js 

redirectUri: "https://localhost:8080/",
interactionMode: "popUp",
graphEndpoint: "",
graphScopes: ["openid"]


And response_type should be id_token

then check.

Hope it will do.