developers
Register Site
Registers site at oxd-server
post/register-site
Request body
Example request
{
"authorization_redirect_uri": "https://client.example.org/cb",
"op_host": "https://<ophostname>",
"post_logout_redirect_uri": "https://client.example.org/cb",
"application_type": "web",
"response_types": [
"code"
],
"grant_types": [
"authorization_code",
"client_credentials"
],
"scope": [
"openid"
],
"acr_values": [
"basic"
],
"contacts": [
"foo_bar@spam.org"
],
"redirect_uris": [
"https://client.example.org/cb"
]
}Response
OK
Example response
{
"oxd_id": "bcad760f-91ba-46e1-a020-05e4281d91b6",
"op_host": "https://<op-hostname>",
"client_id": "@!1736.179E.AA60.16B2!0001!8F7C.B9AB!0008!A2BB.9AE6.5F14.B387",
"client_secret": "f436b936-03fc-433f-9772-53c2bc9e1c74",
"client_registration_access_token": "d836df94-44b0-445a-848a-d43189839b17",
"client_registration_client_uri": "https://<op-hostname>/oxauth/restv1/register?client_id=@!1736.179E.AA60.16B2!0001!8F7C.B9AB!0008!A2BB.9AE6.5F14.B387",
"client_id_issued_at": 1501854943,
"client_secret_expires_at": 1501941343
}