SRS-047: Endpoint Access Control
Identifier
SRS-047
Software System
- API Gateway
- Orchestrator
Category
- Security
Description
Because the software offers a user-facing interface over which handles sensitive medical data and provides functionality that could affect patient care, it must ensure that only authorized and properly authenticated individuals use the system. Thus, the software shall protect all API endpoints by requiring a valid, unexpired OAuth 2.0 Bearer token in the Authorization
header of the request. The only exceptions to this rule shall be the public endpoints explicitly designed for authentication (/login
) and basic system discovery (/
). The system shall reject any request to a protected endpoint that lacks a valid token with a 401 Unauthorized
status code.
Derived from PRS
PRS-1V6
: Expose the device’s functionality through a versioned, network-accessible API