anli5005 / BetterSchoology

macOS app that offers a better Schoology experience.
11 stars 0 forks source link

Add SSO Login #3

Open dxrk opened 4 years ago

dxrk commented 4 years ago

Is it possible to add SSO login? My school doesn't use the traditional schoology login so I can't log in with your application.

anli5005 commented 4 years ago

As of now the app only works within my school (BCA), due to the poor decision to hardcode the Schoology URL. An overhaul of this and the authentication system is due for v0.8.0.

SSO login is something I definitely want to implement, but it's difficult to do so because my school doesn't use it and I therefore can't reverse engineer its API. What I'll probably end up doing is having sign in take place in a web view and extracting the auth session from there.

ecamodeo commented 3 years ago

@anli5005 for what it is worth we are a SSO school. I just updated the link in your code and changed my school id. It logged me in fine and loaded my courses. When clicking a course I did it get an error on the details. I am not sure if that is due to the change I made though.