-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open an external browser when the server config for MobileExternalBrowse is set to true #8220
Conversation
…wser is set to true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but one nit and one thing to consider.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏽
I just have 1 non-blocking comment in regards to ease of testing this.
@@ -155,14 +156,28 @@ const SSO = ({ | |||
theme, | |||
}; | |||
|
|||
let authentication; | |||
if (config.MobileExternalBrowser === 'true') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@enahum any chance we can or should make it easier to pass an env so that we can do any type of test without having to update the server?
I was thinking about E2E test, or for QA to test without having to modify the config if we need to test this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it could be done by the time we introduce e2e for this. That e2e will require the server to be configured with a SSO anyway
Cherry pick is scheduled. |
/cherry-pick release-2.20 |
Cherry pick is scheduled. |
Summary
Introducing a client config property that determines if the mobile app should use the default external browser to perform SSO Authentication instead of the internal one. mattermost/mattermost#28180
Important: We want to include this in a dot release so that ships as soon as possible.
Also addresses an issue reported in #8206
Ticket Link
https://mattermost.atlassian.net/browse/MM-60332
Fixes: #8206
Fixes: #8155
Release Note