openedx / auth-backends

Custom authentication backends and views for edX services
GNU Affero General Public License v3.0
22 stars 19 forks source link

Add Support for True Multi-tenancy #26

Open clintonb opened 7 years ago

clintonb commented 7 years ago

We currently use the same OAuth credentials for all tenants on our IDAs. This works because the auth service (LMS) is not truly multi-tenant. Just because LMS is not truly multi-tenant doesn't mean our IDAs cannot be.

Most of the IDAs use the Django sites framework coupled with a custom model (e.g. SiteConfiguration). We should properly codify this implementation in https://github.com/edx/edx-django-extensions. Once that is done, we can create a new strategy that is multi-tenant-aware.

If we ever get to the point of separating users, we should explore a new storage backend as well as discussed in https://github.com/omab/python-social-auth/issues/552.

jadavbheda commented 4 years ago

This request seems to be created a while ago. I wonder if community has anything already build or started efforts to build truly multi-tenant. If there is any we would love to contribute. Any pointers would be appreciated.

ilavenilp commented 4 years ago

+1

k2glyph commented 4 years ago

+1