MicrosoftDX / kurvejs

Kurve JS is a combination of JavaScript/TypeScript libraries for authentication against Microsoft Active Directory and access to the Microsoft Graph REST API
MIT License
56 stars 12 forks source link

Multiple Resource #41

Open praveenrengarajan opened 7 years ago

praveenrengarajan commented 7 years ago

how to config 'sharepoint' resource , this token not able to access sharepoint https://xxxxxx.sharepoint.com/_api/search/query

matvelloso commented 7 years ago

Hi,

Kurve JS is just an experimental library. It's not an official library and it hasn't been updated for quite a while. I'd recommend instead using the new MSAL library which is our official one for this: https://github.com/AzureAD/microsoft-authentication-library-for-js

praveenrengarajan commented 7 years ago

@matvelloso but will it work for Azure AD organization level ? I have registered my application in portal.azure.com

matvelloso commented 7 years ago

Any particular reason why you wouldn't want to register the same app on v2?

praveenrengarajan commented 7 years ago

My application is organization level (only for organization people), and they mentioned dont use ADv2 for work/school level ADV2 Limitations. Docs are confusing me lot.