Token Based API is a reusable OutSystems component designed to simplify the implementation of secure REST APIs using JWT (JSON Web Token) authentication. The component provides functionality to generate, validate, and manage access tokens for API consumers while enforcing secure authorization mechanisms.
Key Features:
• JWT token generation with configurable expiration time.
• Token validation and authentication support through REST API OnAuthentication actions.
• Secure API access using Bearer Token authentication.
• Support for custom payloads including UserId, Username, Roles, and other claims.
• Token expiration and integrity verification.
• Easy integration with existing OutSystems applications and APIs.
• Reusable architecture that promotes secure development best practices.
This component helps developers quickly implement industry-standard token-based authentication, reducing development effort while improving API security and maintainability.