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

Add Authentication Backend #8

Open
michaelwheeler opened this issue May 5, 2022 · 0 comments
Open

Add Authentication Backend #8

michaelwheeler opened this issue May 5, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@michaelwheeler
Copy link
Collaborator

It seems like it might be useful to create a Django Authentication Backend to allow apps to authenticate users based on LTILaunch information.

The backend might be something as simple as:

from django.contrib.auth.backends import BaseBackend

class LtiLaunchAuthenticationBackend(BaseBackend):
    def authenticate(self, request, lti_launch=None):
        return lti_launch.user.auth_user
@michaelwheeler michaelwheeler added the enhancement New feature or request label May 5, 2022
@michaelwheeler michaelwheeler added the help wanted Extra attention is needed label Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant