What this solution does
The Awelite: REST API module provides a quick setup for a REST API interface. After installation, user registration and authorization become available, along with a mechanism to refresh access tokens upon session expiration. Developers can also rapidly construct custom routes and middleware to meet specific requirements.
Key module capabilities:
Customizable path configuration for the REST API interface.
Convenient route mapping visualization.
Configuration of domain allowlists (Origins) to manage access control.
Adjustable lifetime settings for Access Tokens and Refresh Tokens.
Ability to reissue the secret key for token generation, which immediately invalidates all previously issued tokens.
Option to choose whether response keys are converted to camelCase or remain in their original format.
Operational principle:
The module implements authentication using the JSON Web Token (JWT) technology.
Obtained access tokens are sent in the Header of subsequent requests using the parameters X-Auth-Token and X-Auth-Refresh-Token.
All REST API requests and responses are formatted as JSON.
General iT can take care of implementing “Awelite: REST API”, including installation, configuration and result verification.