My team is using Mattermost as an OAuth2.0 Service Provider in an Angular webapp. The Mattermost instance is configured to use both a username/password login and a Google SSO login.
During the OAuth2.0 login process, the users logging in with Google are logged in correctly, and redirected correctly to the Angular app. Users logging in with username/password, however, are met with a “Team not found” error (see screenshot).
May I know if you see any errors in the mattermost.log as well as the JS console in the developer tools that we can tie back to error that we are seeing when you reproduced the issue?
Additionally, do you use default teams feature in your Mattermost instance?