Ahmed-Soli / linkedin-course-downloader

python script for downloading courses from linkedin learning
51 stars 26 forks source link

SSO #6

Open aelharda opened 4 years ago

aelharda commented 4 years ago

Hi Ahmed,

first off, thank you for the amazing tool, i had no issues using it but since my regular account is connected thru company SSO when downloading the course it tells that i need premium. Is there a way to integrate SSO login?

Thank you

Ahmed-Soli commented 4 years ago

Hi @aelharda , glad you like it , I believe everything is achievable if you know what you are doing . I'll need an account for testing

bhayanak commented 4 years ago

Hi Ahmed, Thanks for reply but no one can give you SSO details. Its like when a person uses his company id then linked-in with redirect to enterprises login and then it has SSO(Single Sign ON) enabled and person sees the logged in. So instead need to have required_info.json few more fields like: CSRF_Token, sessionid, li_at.. or what ever is required for logging in and person can fill those data after logging in from his enterprises login.

Ahmed-Soli commented 4 years ago

@bhayanak the CSRF_Token is generated in the header after the login along with some other info . I can think of a tool to login you in then gives you the necessary cookies and then you add this cookies to the required_data. I have the skills and the experience to innovate such way , but my biggest obstacle is time ( I'm working as a full time engineer and in my free time I do freelance projects ) . but totally noted and thanks for your feedback .

aelharda commented 4 years ago

Let me know if you need me to test anything for you.

Ahmed-Soli commented 4 years ago

@aelharda will definitely let you know .