Register an application
POST/api/tenants/{tenant}/applications
Example Request
{
"homepageUrl": "https://myapp.org",
"roles": [ids:app_admin, ids:user_admin, ids:tenant_admin],
"theme": "default",
"consentType": "implicit",
"type": "confidential",
"grantTypes": [authorization_code],
"endpoints": [authorization, token, logout, introspection, revocation],
"scopes": [email, phone, profile],
"redirectUris": [https://myapp.org/callback],
"postLogoutRedirectUris": [https://myapp.org/signed-out],
"clientId": "my-new-app"
}
Parameters
Name | Description |
---|---|
string (path) | |
string (body) | |
array (body) | |
string (body) | |
string (body) | |
string (body) | |
string (body) | |
array (body) | |
array (body) | |
array (body) | |
array (body) | |
array (body) | |
boolean (body) | |
boolean (body) | |
boolean (body) | |
boolean (body) | |
string (body) | |
array (body) | |
string (body) | |
(body) |
Responses
200
Success
{
"clientId": null,
"clientSecret": null
}
Name | Type | Description | Format |
---|---|---|---|
clientId | string | ||
clientSecret | string |
400
Bad Request
{
"type": null,
"identifier": "",
"message": null,
"responseCode": null,
"errors": null
}
Name | Type | Description | Format |
---|---|---|---|
type | string | ||
identifier | string | uuid | |
message | string | ||
responseCode | string | ||
errors | array |