Copying answer from comments for better understanding
Here is the doc for developing a bot that will be accessed through the channels: teams.
Here is the sample team's bot SSO GitHub source code: https://github.com/microsoft/BotBuilder-Samples/tree/main/experimental/teams-sso/csharp_dotnetcore.
The users will be authenticated against Identity Server V4 in order to use the BOT. Setup an OAuth Connection Settings entry for client's Identity Server, which will be used in the Authentication bot dialog to get the token from the Azure Bot provided token store.
Given that all the channels will authenticate the users against the client's identity provider before interacting with the bot and will send the JWT token as part of the bot messages.
Thanks,
Nikitha.
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.