Randomly receiving an invalid state error when logging in
After moving to keycloak as the login mechanism for Mattermost using OAuth2 (GitLab in MM), users will sometimes receive an "Invalid State" error when logging in on both the web and mobile app. Typically just going back and trying to log in again will resolve the issue (i.e. able to log in with no issues).
Haven't found a consistent way to duplicate it but I have experienced the same issue a couple times.