Skip to content
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

Open
angonz opened this issue Oct 31, 2024 · 1 comment
Open

SSO with LMS not working #90

angonz opened this issue Oct 31, 2024 · 1 comment

Comments

@angonz
Copy link
Contributor

angonz commented Oct 31, 2024

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.

image

Looks like the user is created, but the staff and superuser status is not set.

@DawoudSheraz
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants