I'm developing a very simple Teams bot that needs to make use of graph api in the backend. Since bots don't support silent authentication, I'm forced to authenticate my user inside the bot and acquire the token to call graph. My development environment is in Node.JS.
Is there a library of sorts to achieve this? I checked a few samples in github but they're complex implementations with dialogs and all. Can anyone provide some sample code to quickly acquire a token for calling graph? It's fine even if it's skeleton code.