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

fb2cal fails to authenticate #121

Closed
adilsond opened this issue Aug 21, 2024 · 3 comments
Closed

fb2cal fails to authenticate #121

adilsond opened this issue Aug 21, 2024 · 3 comments
Assignees
Milestone

Comments

@adilsond
Copy link

adilsond commented Aug 21, 2024

Hi.

Since this month fb2cal fails to authenticate. Maybe it is caused by a change in the endpoint.

And the password is correct since I can still authenticate from a regular browser.

@mobeigi
Copy link
Owner

mobeigi commented Aug 21, 2024

Hi @adilsond ,

First of all, thanks for the bug report and also for including a DEBUG log!
I've gone ahead and removed your log file from the issue after looking at so it doesn't leak anything that might be sensitive like cookies etc.

The issue here is that Facebook changed their authentication rules.
We've been sending the password using pass in plaintext (but over HTTPS so still secure) so far.
Facebook no longer allows this (which means it completely breaks Facebook for people using no Javascript browsers!).

Instead, Facebook is now enforcing we pass a enc_pass encrypted version of the password which they first started using around 2019 but it wasn't enforced like it is now.

Thankfully, other people like @lorenzodifuccia have already done the hard work to generate this encrypted password.
https://gist.github.com/lorenzodifuccia/c857afa47ede66db852e6a25c0a1a027

Fix is ready and tested on my end, pushing changes now!

@mobeigi mobeigi added this to the 1.3.1 milestone Aug 21, 2024
@mobeigi mobeigi self-assigned this Aug 21, 2024
@mobeigi
Copy link
Owner

mobeigi commented Aug 22, 2024

@adilsond Did it manage to work for you? Let me know.

@adilsond
Copy link
Author

@adilsond Did it manage to work for you? Let me know.

It is working here. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants