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

Can this call to WEB API then to MSGraph, or only can call directly to MSGraph #39

Closed chauey closed 7 years ago

chauey commented 8 years ago

If MSGraph does not have all the data we need, we want to add and have custom Planner Task data for example, how best to achieve login/CRUD/etc. for that (and Angular2)? Thanks!

matvelloso commented 8 years ago

Using AAD app model v1 you can register two apps, one for your web service and the other for your client web page. Then client web page requests an access token for your web service, calls your web service, then your web service uses that access token to request another one for the graph. It's what we call on behalf of tokens