Hi,
Thanks for the sample, it's a really helpful piece of code.
As far as I understand, the ADAL angular library intercepts all requests to graph.microsoft.com and adds the appropriate tokens to those requests. Is there any way to get the actual tokens that the ADAL library fetches? I'd like to have my API perform the requests on behalf of the user (something like: client -> my api -> graph.microsoft.com) so that I can filter / perform some operations on the data coming back from the graph api, and then return that 'updated' data to the client.
I guess I could just provide all the required fields to my api, and have my api request tokens and then use those for graph.microsoft.com, but just wondering if there's a better way to do it.
Thanks!
p.s. This is not really an issue, more of a stackoverflow question, but I thought my chances of getting an answer were a bit higher here :)