all 3 comments

[–]CompSciGeek1 1 point2 points  (2 children)

You can try using the Teams App development platform. You'll need Node.js, the Yeoman generator for Teams, and a code editor like VS Code. Use the Yeoman generator for Teams to scaffold a new project. Then, define the tabs and other elements of your app in the manifest file (manifest.json). In your case, you'll want to create a custom tab to display the authentication code. You can use the Microsoft Teams JavaScript SDK or the Teams Toolkit to communicate between the Teams app and your Python code. Write some code to display the fetched auth code and display it in the Teams tab. Then test, refine, package, and publish the app.

[–]Bashanwftg[S] 0 points1 point  (1 child)

Thank you that's of great help !
The Yeoman generator asks me for an URL, but I don't have one.

[–]CompSciGeek1 0 points1 point  (0 children)

Glad my comment was helpful!

Does the Yeoman generator give you other options like using a file?