developers
Register Site
Registers site at oxd-server
post/register-site
Request body
Example request
{
"redirect_uris": [
"https://client.example.org/cb"
],
"op_configuration_endpoint": "https://op.example.com/acme/.well-known/openid-configuration",
"op_host": "https://<ophostname>",
"op_discovery_path": "/oxauth",
"post_logout_redirect_uris": [
"https://client.example.org/logout/page1",
"https://client.example.org/logout/page2",
"https://client.example.org/logout/page3"
],
"response_types": [
"code"
],
"grant_types": [
"authorization_code",
"client_credentials"
],
"scope": [
"openid"
],
"acr_values": [
"basic"
],
"contacts": [
"foo_bar@spam.org"
],
"logo_uri": "https://client.example.org/logo.png",
"client_uri": "https://client.example.org/page",
"policy_uri": "https://client.example.org/page",
"front_channel_logout_session_required": true,
"tos_uri": "https://client.example.org/page",
"jwks": "{\"key1\": \"value1\", \"key2\": \"value2\"}",
"id_token_binding_cnf": "4NRB1-0XZABZI9E6-5SM3R",
"tls_client_auth_subject_dn": "www.test.com",
"run_introspection_script_beforeaccess_token_as_jwt_creation_and_include_claims": true,
"default_max_age": 1000000,
"require_auth_time": true,
"initiate_login_uri": "https://client.example.org/authorization/page",
"access_token_lifetime": 100000000,
"software_id": "4NRB1-0XZABZI9E6-5SM3R",
"software_version": "2.1",
"sync_client_period_in_seconds": 86400
}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_name": "TestClientName",
"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
}