You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Press the SSO button (e.g., GitLab). The browser opens.
Press the cancel button on the top left. A "Sign-in error" message appears.
Press "Try Again." The browser opens again.
Log in via the IDP, and it redirects to the app.
An "Authentication Successful" message appears, but the app does not redirect.
Expected behavior
Successful login
Observed behavior (that appears unintentional)
error on ssoLogin Received invalid response from the server.; Session for https://XXXXX.com has been invalidated
Failed to set store from local data [Error: Received invalid response from the server.]
Possible fixes
The server URL is being registered as invalid. I believe the logic on lines 50 and 51 is unnecessary. Even if the URL is valid upon retry, it is still being registered as invalid.
Summary
Retrying SSO does not trigger a redirect. The issue occurs because the server URL is being incorrectly registered as invalid.
Environment Information
Device Name: iPhone 16
OS Version: iOS 18
Mattermost App Version: v2.23.1
Steps to Reproduce
Expected behavior
Successful login
Observed behavior (that appears unintentional)
Possible fixes
The server URL is being registered as invalid. I believe the logic on lines 50 and 51 is unnecessary. Even if the URL is valid upon retry, it is still being registered as invalid.
mattermost-mobile/app/screens/sso/sso_authentication.tsx
Lines 47 to 51 in 5ce4f49
The text was updated successfully, but these errors were encountered: