-
-
Save KyMidd/9a32a43ed59ab513e52d14b910de6c56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def lambda_handler(event, context): | |
| #... | |
| # Get bearer token for the bot to use to post messages | |
| bot_bearer_token = get_teams_bearer_token(TENANT_ID, CLIENT_ID, CLIENT_SECRET) | |
| # Extract auth token from event | |
| user_graph_auth_token = event.get("token", "") | |
| user_graph_auth_token = decrypt_user_auth_token(user_graph_auth_token) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment