User Authentication - lrcry/ExpertMind GitHub Wiki

Introduction

User authentication in ExpertMind is implemented by Stormpath, which simply provide software teams a complete, secure user identity layer in 15 minutes. Django-stormpath is simple, scalable, user authentication for Django framework.

Installation

To install the library, you'll need to use pip:

$ pip install -U stormpath

$ pip install django-stormpath

User Register and Login

User can login or register through http://localhost:8000/expertMind_login

After user register a new account or login through Stormpath, a User object will be returned to the front end.

A User will be look like the following object:

{
"given_name": "Nishad",
"surname": "Nima",
"email": "[email protected]"
}