How to implemnt user authentication and modify rest API #110
-
Hi Dear NEMO I want to use NEMO in our product environment, but there have two problems which we consider.
Could you please give me some hints and document to start? Sincerely |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi Liang, For 1. you can use the NEMO-allauth plugin which provides a lot more options for authentication. It is based on django-allauth and support a ton of providers. For 2. you are correct, at the moment NEMO's REST API only supports data read. If you want to implement POST, PUT, DELETE etc. for NEMO you can either submit a PR, or create your own plugin to add this functionality. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi Mathieu Got it, thanks for your response. we are evaluating NEMO now, if we decide to contribute to it, we will let you know. Sincerely |
Beta Was this translation helpful? Give feedback.
-
I just wanted to add that we recently expanded the REST API to allow POST, PUT, partial updates (PATCH), and DELETE. |
Beta Was this translation helpful? Give feedback.
Hi Liang,
For 1. you can use the NEMO-allauth plugin which provides a lot more options for authentication. It is based on django-allauth and support a ton of providers.
For 2. you are correct, at the moment NEMO's REST API only supports data read. If you want to implement POST, PUT, DELETE etc. for NEMO you can either submit a PR, or create your own plugin to add this functionality.
I would have to check with the other stakeholders, but I think PRs to add more REST support would be welcomed.
Thanks,
Mathieu