Authentication
Authentication in our system occurs through the JWT (JSON Web Token) protocol, ensuring a secure and reliable experience for authorized users. To access the system's functionalities, airline company brokers must authenticate via a POST request to https://mydomain.belevensoftware.com/api/login, providing their login credentials in the form of a JSON object. The request must include the following information:
Where "username" represents the broker's username and "password" is their associated password. These data are securely sent to the server for user identity verification. Upon successful authentication, the server generates a JWT token containing user information and their access session. The JWT token is then returned to the client and should be included in subsequent requests as an authentication mechanism. This token has an expiration time and must be periodically updated to keep the user session active. In the event of unauthorized access or token expiration, the system will prompt the user to reauthenticate to continue accessing protected resources. The use of the JWT protocol offers numerous advantages, including secure data transmission, system scalability, and efficient user session management. With this robust and reliable authentication system, we ensure the protection and integrity of our users' sensitive information while using the platform. Authentication Example:
An example for testing real authentication
Last updated