AMWA-TV / is-10

AMWA IS-10 NMOS Authorization Specification
https://specs.amwa.tv/is-10
Apache License 2.0
3 stars 4 forks source link

Examples of client registration using different grant #103

Closed lo-simon closed 3 years ago

lo-simon commented 3 years ago

Would it be useful to replace register-client-post-request.json with the following 2 examples, one for using client_credentials grant and one for using authorization_code grant?

register-client-credentials-grant-client-post-request.json

{
 "client_name": "My Example Client",
 "grant_types": ["client_credentials"],
 "jwks_uri": "https://client.example.org/my_public_keys.jwks",
 "response_types": ["none"],
 "scope": "registration",
 "token_endpoint_auth_method": "private_key_jwt"
} 

register-authorization-code-grant-client-post-request.json

{
 "client_name": "My Example Client",
 "grant_types": ["authorization_code", "refresh_token"],
 "redirect_uris": [
   "https://client.example.org/callback",
   "https://client.example.org/callback2"
 ],
 "response_types": ["code"],
 "scope": "query connection",
 "token_endpoint_auth_method": "client_secret_basic"
}
peterbrightwell commented 3 years ago

Discussed on call -- this would only mean a change to an example. We agree so @simonlo-sony please do PR

peterbrightwell commented 3 years ago

Closed by #104