-
Notifications
You must be signed in to change notification settings - Fork 42
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
SSO with LMS not working #90
Comments
@angonz Hi, what steps did you take? I was checking discovery locally. I hit courses endpoint, it redirected to auth page, and when I logged in using admin, I was able to access discovery API because admin user was logged in there. As for staff/superuser setting, the auth_backend does not seem to set this, it only creates the user https://github.com/openedx/auth-backends/blob/master/auth_backends/strategies.py#L29. However, anyone else with more context on this can better comment. This does not seem to be an issue with tutor-discovery. |
@angonz Hi, following up on this issue. Thanks |
Hi @DawoudSheraz, |
Currently, I am not sure if we can plugin tutor in Open edX SSO flow. SSO flow is independent of Tutor workflow. We can use tutor-discovery to create a new user with default email and it can have staff/superuser permissions that one can use to login. I don't think the plugin can add anything to SSO as it lies outside the domain of Tutor and is much in-grained in Open edX flow. |
As per instructions, it should be possible to log in using an existing LMS user. However this is not working. This screenshot was taken using the admin user of the Sumac sandbox. I have noticed the same in Quince.
Looks like the user is created, but the staff and superuser status is not set.
The text was updated successfully, but these errors were encountered: