Jun 07 2017 11:25 PM
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;
https://github.com/microsoftgraph/angular-connect-rest-sample
http://simonjaeger.com/microsoft-graph-authentication-with-azure-ad/
Sep 05 2017 03:12 AM - edited Sep 05 2017 03:19 AM
Please change Like below in /public/scripts/config.js
var APPLICATION_CONFIG = {
clientID: "ENTER_YOUR_CLIENT_ID",
redirectUri: "https://localhost:8080/",
interactionMode: "popUp",
graphEndpoint: "https://graph.microsoft.com/v1.6/yourtenentid.onmicrosoft.com/me",
graphScopes: ["openid"]
};
And response_type should be id_token
then check.
Hope it will do.