Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.81 KB

best-practice-authorization.md

File metadata and controls

34 lines (23 loc) · 1.81 KB

[Work In Progress] Best Practice Authorization

Please see the IS-10 Specification at NMOS Authorization for further details regarding implementing authorization with the NMOS suite of APIs.

Use of Normative Language

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Scope

The IS-10 Specification has outlined the specification for implementing a general OAuth 2.0 authentication system, in line with current best practices. This document outlines additional requirements placed upon Resource Servers which implement specific NMOS Interface Specifications.

NMOS APIs

IS-04 - Discovery and Registration

When registering resources with an instance of an IS-04 Registry, the Registry MUST register the Client ID of the client performing the registration. The Client ID can be found within the client_id claim of the valid JWT access token used in the HTTP request.

Subsequent requests to modify or delete a registered resource MUST validate that the Client ID used to register the resource matches the client_id claim in the JWT access token used in the HTTP request making the modifications. This is to ensure that clients do not, maliciously or incorrectly, alter resources belonging to other nodes. Unsuccessful validation of a matching Client ID MUST result in the Resource server rejecting the request.