wazo-auth is the authentication server used by the Wazo platform.
wazo-auth is used to:
The REST API for wazo-auth is available here.
The bus events are defined here.
The database tables are defined here.
The SAML based login is available using SAML wazo-auth APIs, more details are available in its documentation. To be able to use it you need to install the federation metadata XML file and add the corresponding configuration file. Please check the example in the wazo-auth sources.
A policy is a list of access that is used to access Wazo resources. Policies can be created, deleted or modified using the REST API.
A token is used to identify and authorize all HTTP queries done on the wazo-platform. Each token has an expiration and can be revoked by the user.
The token should be added to each subsequent HTTP request using the 'X-Auth-Token' HTTP header.
Wazo services expose more and more resources through REST API, but they also ensure that the access is restricted to the authorized programs.
Here is the call flow to access a REST resource of a Wazo service:
add a schema here https://wazo.readthedocs.io/en/latest/_images/service_authentication_workflow.png
Service
and validates the required ACL with the token.Wazo services directly use this system to communicate with each other, as you can see in their Web Services Access.