remyla / damas-core

JSON storage service. RESTful, CRUD, multi-user.
http://damas-software.org
GNU General Public License v3.0
56 stars 23 forks source link

server-nodejs : authenticate users using a remote server #239

Open axl-pis opened 5 years ago

axl-pis commented 5 years ago

For now, we authenticate users on the local server using the local database. We would like to be able to configure the local server to delegate the authentication process to another damas-core server.

remyla commented 3 years ago

the jwt-delegate doesn't properly work and needs debug :\ This extension is needed in SyncPlanet service with some improvements that could be made (would explain more in further message) Re-opening the issue! @axl-pis

remyla commented 3 years ago

By extension, how the different errors will be processed?

the server could return a 401 or 200 (https://github.com/remyla/damas-core/wiki/4-Specifications#signin)

remyla commented 3 years ago

I write a bit more details about how the delegated authentication could work.