Bot Framework Connector refresh MS Graph token
Benoit Dupont
61
Reputation points
Hello,
I'm building a Teams Bot using the Bot Framework REST API.
I can send a OAuthCard to the user to sign in and get the magic code back and exchange it for a Microsoft Graph token. Everything is working.
What I don't know is the correct way to refresh that token when it expires. Sending a new OAuth card to the user is not user-friendly. I'm sure there is a better way to do it. How ?
Thanks