Django Social Auth Debug HTTP Error 400: Bad Request (Related)

I am using Django Social Auth and I was able to log in using both Facebook and Twitter. But I was getting HTTP 400 error when I tried it with a link. I get the following error:

Sorry, but some error forced you to log in.

HTTP Error 400: Bad Request (Associated)

Any ideas on debugging this?

Thanks.

+6
source share
2 answers

A rather old question, but I had the opportunity to debug this problem today, and the error was caused by a mismatch of the server date and time with the current UTC value, the LinkedIn problem was fixed when updating the server date.

+1
source

I would debug this network traffic capture and see what is wrong with the request. You can use, for example, Wireshark to capture and view. This will at least give you an idea of ​​what part of the OAuth process is not working.

0
source

Source: https://habr.com/ru/post/909539/


All Articles