Make sure Firefox Preview is your default browser.
With the native Slack app, start the sign in flow to the Mozilla Slack. At one point you are redirected to the Auth0 website to finish the login flow. The native Slack app properly opens Firefox Preview and the SSO sign-in page. Sign in there with your Mozilla account and password.
After signing in successfully, Firefox Preview should switch back to the native Slack app.
Firefox Preview shows a blank page with a https://auth.mozilla.auth0.com/ link.
This sign in flow is pretty common and it is probably not limited to the Mozilla Auth0 flow.
@rocketsroger is this also related to app links? I assume the link that Auth0 redirects to is the native Slack app link?
@rocketsroger is this also related to app links? I assume the link that Auth0 redirects to is the native Slack app link?
Yes this is. It could be related https://bugzilla.mozilla.org/show_bug.cgi?id=1600704. I'll have to retest after GV side is fixed.
After completing SSO login with mozilla Auth0, URL https://mozilla.slack.com/sso/saml was loaded and it fails to redirect to a https://app.slack.com/t/mozilla/login/z-app... link. Needs to investigate why no https://app.slack.com link was triggered automatically after signed in.
One workaround is revisiting the https://mozilla.slack.com/sso/saml link loads a button to launch the slack app.
Related to https://bugzilla.mozilla.org/show_bug.cgi?id=1600704. Retest after fix from GV is merged.
Confirmed by debugging focus. On focus I see a onLoadRequest for a slack:// URL right after the SAML URL. The slack scheme triggers focus to open in third party app.
Related to https://bugzilla.mozilla.org/show_bug.cgi?id=1600704. Retest after fix from GV is merged.
Can I have a link to the fix from GV please?
LE: seems like the issue here was fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=1612070
Can I have a link to the fix from GV please?
Fix not merged yet. https://phabricator.services.mozilla.com/D62059
Sign in to slack works correctly with "Open links in apps" turned on. However, it doesn't work correctly without the setting turned on. Will need move investigation.
From discussions with the GeckoView team, this issue is due to slack:// scheme is not passed to onLoadRequest in AppLinkInterceptor. This will require further fixes from GeckoView.
Need fix from https://bugzilla.mozilla.org/show_bug.cgi?id=1619344
Confirmed with GV 75.0.20200303095030 this is fixed. The next nightly build should have this version. Please verify this is fixed.
Verified as fixed on the latest Nightly build from 3/5 with Samsung Galaxy Note 8 (Android 9).
After signing in successfully, Firefox Preview switched back to the native Slack app.
Most helpful comment
Confirmed with GV 75.0.20200303095030 this is fixed. The next nightly build should have this version. Please verify this is fixed.