"description":"A request to register a client with dex.",
"properties":{
"properties":{
"id":{
"isAdmin":{
"type":"string",
"type":"boolean"
"description":"The client ID. Ignored in client create requests."
},
},
"client":{
"secret":{
"type":"object",
"type":"string",
"properties":{
"description":"The client secret. Ignored in client create requests."
"redirect_uris":{
},
"type":"array",
"isAdmin":{
"items":{
"type":"boolean"
"type":"string"
},
},
"redirectURIs":{
"description":"REQUIRED. Array of Redirection URI values used by the Client. One of these registered Redirection URI values MUST exactly match the redirect_uri parameter value used in each Authorization Request, with the matching performed as described in Section 6.2.1 of [RFC3986] ( Berners-Lee, T., Fielding, R., and L. Masinter, “Uniform Resource Identifier (URI): Generic Syntax,” January 2005. ) (Simple String Comparison)."
"type":"array",
},
"items":{
"client_name":{
"type":"string"
"type":"string",
},
"description":"OPTIONAL. Name of the Client to be presented to the End-User. If desired, representation of this Claim in different languages and scripts is represented as described in Section 2.1 ( Metadata Languages and Scripts ) ."
"description":"REQUIRED. Array of Redirection URI values used by the Client. One of these registered Redirection URI values MUST exactly match the redirect_uri parameter value used in each Authorization Request, with the matching performed as described in Section 6.2.1 of [RFC3986] ( Berners-Lee, T., Fielding, R., and L. Masinter, “Uniform Resource Identifier (URI): Generic Syntax,” January 2005. ) (Simple String Comparison)."
},
},
"logo_uri":{
"clientName":{
"type":"string",
"type":"string",
"description":"OPTIONAL. URL that references a logo for the Client application. If present, the server SHOULD display this image to the End-User during approval. The value of this field MUST point to a valid image file. If desired, representation of this Claim in different languages and scripts is represented as described in Section 2.1 ( Metadata Languages and Scripts ) ."
"description":"OPTIONAL. Name of the Client to be presented to the End-User. If desired, representation of this Claim in different languages and scripts is represented as described in Section 2.1 ( Metadata Languages and Scripts ) ."
},
},
"client_uri":{
"logoURI":{
"type":"string",
"type":"string",
"description":"OPTIONAL. URL of the home page of the Client. The value of this field MUST point to a valid Web page. If present, the server SHOULD display this URL to the End-User in a followable fashion. If desired, representation of this Claim in different languages and scripts is represented as described in Section 2.1 ( Metadata Languages and Scripts ) ."
"description":"OPTIONAL. URL that references a logo for the Client application. If present, the server SHOULD display this image to the End-User during approval. The value of this field MUST point to a valid image file. If desired, representation of this Claim in different languages and scripts is represented as described in Section 2.1 ( Metadata Languages and Scripts ) ."
}
},
}
"clientURI":{
}
"type":"string",
"description":"OPTIONAL. URL of the home page of the Client. The value of this field MUST point to a valid Web page. If present, the server SHOULD display this URL to the End-User in a followable fashion. If desired, representation of this Claim in different languages and scripts is represented as described in Section 2.1 ( Metadata Languages and Scripts ) ."
}
}
}
},
},
"ClientRegistrationResponse":{
"ClientCreateRequest":{
"id":"ClientRegistrationResponse",
"id":"ClientCreateRequest",
"type":"object",
"type":"object",
"description":"Upon successful registration, an ID and secret is assigned to the client.",
"description":"A request to register a client with dex.",
"properties":{
"properties":{
"client_id":{
"client":{
"type":"string"
"$ref":"Client"
},
}
"client_secret":{
}
"type":"string"
},
}
"ClientCreateResponse":{
}
"id":"ClientCreateResponse",
"type":"object",
"description":"Upon successful registration, an ID and secret is assigned to the client.",