TimEnglart / BlackBoard-Course-Downloader

Simple Python Script to Download Course Documents from Black Board Learn Sites
MIT License
86 stars 18 forks source link

Error login #13

Closed Paolo177 closed 3 years ago

Paolo177 commented 4 years ago

Expected behavior

to be able to log in

Actual behavior

Login error, It asks me to retry even if my password and username are correct.

Step to reproduce

Here it fails login.

here the dump.json of the python3 debug.py

TimEnglart commented 4 years ago

Thanks for providing both the debug dump and the steps to reproduce your issue.

Looking at the dump and making API calls myself to your blackboard it appears that the backend path that this program uses to login is not functioning correctly.

If you could would it be possible to attempt to access your institute through the Mobile Blackboard App and reply to this issue about whether you are able to access your course data: Apple Store Google Play

Thanks

Paolo177 commented 4 years ago

I use the app (android 11). It works fine and I'm able to log in without any problem. To my description I want to add that trying with wrong password and wrong username seems to reproduce the same dump.json file

kkl1974 commented 3 years ago

I am also facing this issue, my institution uses Microsoft 2 factor authentication though which I believe is the problem.

ManishBhat commented 3 years ago

I am facing the same issue as Paolo with the exact same steps. I have attached my dump.json for reference. dump.txt

TimEnglart commented 3 years ago

I am also facing this issue, my institution uses Microsoft 2 factor authentication though which I believe is the problem.

Hi @kkl1974, Unfortunately the program currently doesn't have any integration with external login services and 2 factor authentication. I also do not have these login methods available to me so even if I had a endpoint I could use and documentation on how to implement these login methods I would not be able to test whether or not it resolves the issues that stem from these external services. Apologies but the only way for these login methods to work would be if someone was to fork and submit a PR.

TimEnglart commented 3 years ago

@ManishBhat, Looking at your dump.txt there doesn't seem to be any issues with the client or the server with their responses unlike the original Issue.

If you are using an external login such as Google or Microsoft that may be the issue you are facing. But the server says that they are the incorrect details (either username or password). So you way just be entering them incorrectly.

I'll look into this to see if it is something to do with how the username and password are sent to the LMS.

AnnaNihuang commented 3 years ago

Hey, that didn't work D:

https://cdn.discordapp.com/attachments/820767241314369557/820778790186647563/unknown.png

unaipuelles commented 3 years ago

Hi, I had the same issue because my institution uses Microsoft account to log into blackboard. Applying #18 (and previously logged in my browser) to the code solved the issue and I downloaded successfully all the courses. One important thing is that the user name has to be without @institution.com, maybe is the same in your case. I hope I help someone until the problem is fully solved. If anybody has a question write me without any problem.

kkl1974 commented 3 years ago

I have just gotten the program working with my institutions Blackboard and MS 2fa thanks to the instructions from @unaipuelles and the merge requested fix made by @davenewham. I want to say thank you for this and thank you to TimEnglart for the program as I was downloading my course material manually, this project saved me so much time.

TimEnglart commented 3 years ago

Hi all, Thanks for your testing and @davenewham's PR #18 hopefully most of your issues are resolved. Please move further conversation and issues to #19 so we can track login issues, share resolutions and make implementable issues accordingly

ManishBhat commented 3 years ago

Hi Tim, Massive kudos 😀!Thanks to you, we have this awesome open-source tool. Really grateful for the continued effort on your part. Regards Manish

On Thu, Jul 15, 2021, 11:26 PM Tim Englart @.***> wrote:

Hi all, Thanks for your testing and @davenewham https://github.com/davenewham's PR #18 https://github.com/TimEnglart/BlackBoard-Course-Downloader/pull/18 hopefully most of your issues are resolved. Please move further conversation and issues to #19 https://github.com/TimEnglart/BlackBoard-Course-Downloader/issues/19 so we can track login issues, share resolutions and make implementable issues accordingly

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TimEnglart/BlackBoard-Course-Downloader/issues/13#issuecomment-881148942, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJBZR46MXMHB57W3KWUSETTX6RHDANCNFSM4R4WMGDQ .