Skip to content
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

[Bug]: Multi-Factor Authentication Issue (I think) #179

Open
1 task done
kohakunashi opened this issue Nov 2, 2024 · 4 comments
Open
1 task done

[Bug]: Multi-Factor Authentication Issue (I think) #179

kohakunashi opened this issue Nov 2, 2024 · 4 comments
Labels
Status: TBC To be confirmed Type: Bug Something isn't working

Comments

@kohakunashi
Copy link

What happened?

A few days ago I was using it normally, until yesterday, when I logged in manually, it showed an error message. At the same time, Udemy sent the 6-digit verification code to my email even though I did not enable Multi-factor Authentication in the settings.

Enroller

GUI

OS

Windows

Relevant log output

Traceback (most recent call last):
  File "gui.py", line 245, in <module>
  File "base.py", line 583, in manual_login
    r.cookies["client_id"], r.cookies["access_token"], csrf_token
    ~~~~~~~~~^^^^^^^^^^^^^
  File "requests\cookies.py", line 334, in __getitem__
  File "requests\cookies.py", line 413, in _find_no_duplicates
KeyError: "name='client_id', domain=None, path=None"

Terms

  • I am using the latest available version.
@kohakunashi kohakunashi added Status: TBC To be confirmed Type: Bug Something isn't working labels Nov 2, 2024
@techtanic
Copy link
Owner

techtanic commented Nov 2, 2024

Hello,
Can you try v2.3

Alternatively,
You could also login to your Udemy account on your browser (Chrome, Edge, Firefox, Zen, Safari, Brave) And use auto login which would be easier.
Hope it helps.

@kohakunashi
Copy link
Author

Hello, Can you try v2.3

Alternatively, You could also login to your Udemy account on your browser (Chrome, Edge, Firefox, Zen, Safari, Brave) And use auto login which would be easier. Hope it helps.

Hi, I tried v2.3 but still have the same problem.

By the way, I switched to auto login with Edge browser and it works (Firefox & Chrome don't). Thanks a lot for this project.

@techtanic
Copy link
Owner

It's strange that manual login isn’t working. Could you try enabling and disabling MFA to see if that resolves the issue?

@techtanic
Copy link
Owner

Auto-login should work on both Firefox and Chrome. Try logging out of Udemy on all browsers, then clear cookies for Udemy. After that, log in to Udemy only from your main browser (Firefox or Chrome), restart the browser, and test auto-login to see if the issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: TBC To be confirmed Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants