You can integrate your web app to personal app or tabs. But Microsoft Teams tabs use iFrames and there is a limitation on iFrame related to authentication. iFrame doesn't allow to open a authentication popup for apps.
Thanks,
Meghana
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.