Opening Task Module from Bot having SSO is not supported yet, This feature will be available in public ring soon, However you can take a look at SSO in Bots with sample code
Microsoft SSO in not working in teams-bot task module
Ayush Arya
11
Reputation points
I have implemented MS SSO Authentication in my teams tab and it is working nicely in tab and messaging extensions but when I implemented same in teams-bot task module it is not working and giving error.
As per this doc (auth-aad-sso), it should work in task modules as well but I'm getting below error.
"ExtensionTabService: getAuthTokenForApp: Failed with error - Definition not found"