Hello
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).
When following the Back link, the user is logged in but redirected to Mattermost, not the OAuth2.0 redirect url.
I have been unable to find out what could cause the difference in behaviour between Google and password login.
Thank you in advance for your help