Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Write Custom AUTHENTICATION_BACKEND for PyLTI13 #119

Open
jonespm opened this issue Feb 24, 2022 · 0 comments
Open

Write Custom AUTHENTICATION_BACKEND for PyLTI13 #119

jonespm opened this issue Feb 24, 2022 · 0 comments

Comments

@jonespm
Copy link
Member

jonespm commented Feb 24, 2022

PyLTI13 currently doesn't have a AUTHENTICATION_BACKEND that can be used. So we have to login and use the ModelBackend as a fallback.

If it had it's own backend similar to these projects we could just use this rather than storing the users locally.

The negative of this would be that OAuth keys are stored per user so this might complicate things with OAuth unless we were storing the users in a database locally.

It's possible that this may not be worthwhile for this project because of OAuth, or be more difficult.

This was a sample from one LTI project. https://github.com/wachjose88/django-lti-provider-auth/blob/master/lti_provider/backends.py
Here was another: https://github.com/ccnmtl/django-lti-provider/blob/master/lti_provider/auth.py

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

No branches or pull requests

1 participant