simplajs / simpla

Open, modular, and serverless content management for a modern web
https://www.simplajs.org
MIT License
527 stars 36 forks source link

Replace API authentication with Auth0 SDK #32

Closed madeleineostoja closed 7 years ago

madeleineostoja commented 8 years ago

Auth0 (our authentication backend provider) has released a clientside JS SDK. We should replace our abstracted auth methods in the Simpla SDK with theirs, so we don't touch authentication at all (less links to break).

To achieve this we can just bundle the Auth0 SDK with Simpla as a dependency, and remove the authentication endpoints on our own API.

This will also allow us to (very) easily implement social sign-on on both the Simpla platform and SDK.