ferdium / ferdium-app

All your services in one place, built by the community
https://ferdium.org
Apache License 2.0
2.92k stars 176 forks source link

Bug: Attempting to auth Slack with 2FA doesn't work #256

Open wpopovich opened 2 years ago

wpopovich commented 2 years ago

Avoid duplicates

Ferdium Version

6.0.0-nightly.60

What Operating System are you using?

Windows

Operating System Version

Windows 11

What arch are you using?

x64

Last Known Working Ferdium version

N/A

Expected Behavior

When attempting to login into a Slack Workspace using a Google Account, with 2FA enabled in slack, it should ask for the 2FA code and follow normal Slack auth process

Actual Behavior

Once you login into slack, instead of showing you the 2FA prompt for the authenticator code, it redirects you to the start of the auth flow

Steps to reproduce

Debug link

No response

Screenshots

No response

Additional information

No response

sad270 commented 2 years ago

Try to change your User-Agent and use a UA of Chromium based browser

wpopovich commented 2 years ago

I changed the user agent to both chrome and Chromium Edge, but no dice. I get the same behaviour image

SpecialAro commented 2 years ago

I changed the user agent to both chrome and Chromium Edge, but no dice. I get the same behaviour image

Did you do that inside the recipes DevTools? I suggest you to try changing inside the recipe settings. image

wpopovich commented 2 years ago

I did it inside the recipe settings as you said, and restarted the app, but I still get the same issue. I tried with a few other user agents, some are outright unsupported by slack (I was redirected to the unsupported page), and the ones that worked had the same behaviour image

superuser7777 commented 2 years ago

I am having the same problem. ****.slack.com login menu → workspace search → input mail address → 2FA → list workspace → open defult Browser

Settings that didn't work +UA change +Open URLs within Ferdium

[6.0.0-nightly.89] recipe ver 1.4.2

guedressel commented 2 years ago

I can't login to slack on our company account which is set to "Sign in with google" (SSO): The whole authentication process does seem to work normally after clicking the "Sign in with google" button, but after the last HTTP redirect I find myself again at the slack login screen:

Screenshot_20220818_095958

guedressel commented 2 years ago

BTW I use Arch - hence this issue is not OS dependent.

ffiorent commented 2 years ago

Same issue for me on 6.1.0 @ MacOS Monterey 12.5.1 with another Service (Clickup) where I have a company account with SSO, I've tried also different User agent settings from Ferdium settings.

So it seems also no Service dependent.

danisztls commented 1 year ago

Same issue for me with Matrix company server and Google SAML. Changing the useragent to that of my browser solves the SAML issue but unfortunately I face another bug causing an infinite wheel of doom which appears to be unrelated to this issue.