Planner task webpart using SPFX

Occasional Contributor

Hi All,

I would like to develope a webpart using SPFX that will show planner task of current user. I have idea about graph API. Here i would like to know how can i get the graph token in SPFX. As the webpart running in sharepoint context wheather i will need active directory application or not. If AD application need and any permission required admin consent how should i handle this?

2 Replies

Thanks for your reply, though it says office graph it is actually post query which use digest token, it is similer to sharepoint REST API . I need to invoke graph api which need bearer token which is different than digest token.