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