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

Re-implements LTI-restricted logins #1631

Open
wants to merge 1 commit into
base: dev/10.3.1
Choose a base branch
from

Conversation

clpetersonucf
Copy link
Member

Prior to Materia v10, setting the BOOL_LTI_RESTRICT_LOGINS_TO_LAUNCHES variable to true would hide the Login link from the header and yield a 404 when attempting to visit /login. That behavior regressed in v10, with the config having no effect on restricting logins.

Instead of hiding the login link completely, this change causes login views (/login as well as widget embed previews) to instead indicate that auth is restricted to the LMS. The ?directlogin=1 bypass remains in place.

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

Successfully merging this pull request may close these issues.

1 participant