I'm looking at this code sample to connect a Teams Bot to the Microsoft Graph.
https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/java_springboot/46.teams-auth
The code is working with an old version of microsoft-graph.
When I update it to 5.35.0, I can no longer connect to MS Graph because the authentication classes have changed. I can no longer pass a Token inside the HTTP Header.
Can someone update the code to show me (or give me directions) how to connect the Bot to MS Graph with a user permission consent ?
Thanks