Closed lo-simon closed 4 years ago
I thought the iss
claim should be a URL like <api_proto>://<hostname>:<port>[/<api_selector>]
. (The port may be omitted in which case the protocol specifies the default port, e.g. HTTPS = 443.)
Is that not the case?
So Authorization Server MUST already be on port 443
Yes if it's omitted (and you're not doing something quirky with a protocol other than HTTPS)!
There are some things that may need fixing however... though the spec link above says "MUST be a uri", the example https://github.com/AMWA-TV/nmos-authorization/blob/v1.0-dev/examples/access_token.json has a hostname only, and the schema https://github.com/AMWA-TV/nmos-authorization/blob/v1.0-dev/APIs/schemas/token_schema.json description has only the looser StringOrURI requirement from RFC 7519 Section 4.1.1.
Can be closed as PR #80 merged during today's meeting
As iss claim does not providing the port number, where can it be obtained? Or Authorization Server should always be assigned to port 443.