There's already a bug in our backlog related to `microsoftTeams.authentication.authenticate()` and `microsoftTeams.authentication.notifySuccess()`. That is happening only for Teams desktop. Could you check if you are getting error such as CancelledByUser or other?

www.000webhost.com