Skip to main content
Register a client

Body

application/json

Client metadata (RFC 7591). Fields not listed here are ignored.

Client metadata (RFC 7591). Fields not listed here are ignored.

redirect_uris
string[]
required

Where the person is sent back: https, or http on a loopback host. No fragment, at most 2048 characters each.

Required array length: 1 - 5 elements
client_name
string

The name of the app. It is never trusted as identity.

Maximum string length: 100
grant_types
enum<string>[]
Available options:
authorization_code,
refresh_token
response_types
enum<string>[]
Available options:
code
token_endpoint_auth_method
string

Ignored: every client is public (none).

Response

The client is registered. It expires in 24 hours unless a connection is made with it.

client_id
string
required
client_id_issued_at
integer
required

Seconds since the Unix epoch.

grant_types
enum<string>[]
required
Available options:
authorization_code,
refresh_token
redirect_uris
string[]
required
response_types
enum<string>[]
required
Available options:
code
token_endpoint_auth_method
enum<string>
required
Available options:
none
client_name
string