Thanks for the question.
How to use the OAuth SSO token in your Python backend The bot should use the Bot Framework’s built-in OAuth flow. In your code, retrieve the user token through OAuthPrompt or get_user_token tied to your OAuth Connection. This gives you the delegated access token you can use with Microsoft Graph. Reference (Python SSO sample): https://xtls-v4.hkg1.meaqua.org/en-us/samples/officedev/microsoft-teams-samples/officedev-microsoft-teams-samples-bot-conversation-sso-quickstart-python/
Do you need to expose an API in the App Registration? No. For Teams SSO, you only need delegated Graph permissions on the App Registration used by your OAuth Connection. Exposing an API isn’t required unless another application needs to call your bot.
Do you need manifest changes? Yes. Add webApplicationInfo to your Teams manifest with the App Registration’s client ID and resource identifier. This is what enables SSO for the bot. Reference: https://xtls-v4.hkg1.meaqua.org/en-us/microsoftteams/platform/bots/how-to/authentication/bot-sso-manifest
I hope this helps.
If the answer is useful, please accept and upvote it to close the thread. Thanks.