pierre42100 / WEB-centralAuthServer

A centralized authentication service
MIT License
1 stars 0 forks source link

centralAuth

A centralised authentication system. Author : Pierre HUBERT

CentralAuth is an authentication system that enable you to centralize the authentication for all your applications. Users have just to remember one username and one password for all your services !

centralAuth is written in PHP, recommended version is PHP 7.0 or newer with MySQL.

Concept

The concept of CentralAuth is quite easy. Signing in is done through the following steps:

Installation

Add applications

In order to add authorized client to the system, open the table auth_applications and then create new entries :

Connect to the application

The application offers an API in its first version with just two methods

About the security

A system like CentralAuth must be secured the most possible. On the client, there is not any Javascript file executed, except the bootstrap default javascript file. All the project is protected against CRSF attacks. Furthermore, login tickets and authorization tickets have a limited lifetime. Clients of the applications get automatically disconnected from CentralAuth after 3 minutes of inactivity (the parametres can be changed in the configuration).