Open isedwards opened 2 years ago
Unfortunately, I do not know about it.
Could you please explain more on how we are going to implement auth for OpenCDMS? When I first implemented opencdms, I implemented jwt with private and public key pair. And kept the auth service separate.
How about we use something like https://supertokens.com/docs/community/introduction or https://www.ory.sh/open-source for authentication?
The current OpenCDMS user model was originally derived from SURFACE CDMS which uses the standard Django auth_user model.
Is there a record anywhere of how our AuthUser model was created (e.g. which SQL DDL guided the process?) In
opencdms_api/models.py
(here),is_superuser
has default set to True but, in Django this almost certainly would not be the case.The user model in OpenCDMS will diverge from SURFACE/Django in the future.