Authorization: Bearer ********************
{
"display_name": "电商后端应用",
"response_types": [
"id_token token",
"token",
"code"
],
"tenant": "j32ojfeoi",
"name": "ec-spa",
"logo_uri": "https://mydomain/logo.svg",
"redirect_uris": [
"https://mydomain/callback"
],
"allowed_origins": [
"https://mydomain"
],
"allowed_logout_urls": [
"https://mydomain/logout"
],
"token_endpoint_auth_method": "client_secret_jwt",
"grant_types": [
"password"
],
"app_type": "web",
"is_first_party": false,
"oidc_conformant": false,
"jwt_configuration": {
"lifetime_in_seconds": 1053821319637,
"scopes": {},
"alg": "RS256"
},
"sso": true,
"sso_disabled": true,
"custom_login_page_on": false,
"initiate_login_uri": "https://mydomain/login"
}
curl --location -g --request POST 'https://..authok.cn/api/v1/clients' \
--header 'Content-Type: application/json' \
--data-raw '{
"display_name": "电商后端应用",
"response_types": [
"id_token token",
"token",
"code"
],
"tenant": "j32ojfeoi",
"name": "ec-spa",
"logo_uri": "https://mydomain/logo.svg",
"redirect_uris": [
"https://mydomain/callback"
],
"allowed_origins": [
"https://mydomain"
],
"allowed_logout_urls": [
"https://mydomain/logout"
],
"token_endpoint_auth_method": "client_secret_jwt",
"grant_types": [
"password"
],
"app_type": "web",
"is_first_party": false,
"oidc_conformant": false,
"jwt_configuration": {
"lifetime_in_seconds": 1053821319637,
"scopes": {},
"alg": "RS256"
},
"sso": true,
"sso_disabled": true,
"custom_login_page_on": false,
"initiate_login_uri": "https://mydomain/login"
}'
{
"display_name": "电商后端应用",
"response_types": [
"token",
"id_token token"
],
"tenant": "r3iofjisjo",
"name": "ec-web",
"logo_uri": "https://mydomain/logo.svg",
"redirect_uris": [
"https://mydomain/callback"
],
"allowed_origins": [
"https://mydomain"
],
"allowed_logout_urls": [
"https://mydomain/logout"
],
"token_endpoint_auth_method": "client_secret_post",
"grant_types": [
"http://authok.cn/oauth/grant-type/mfa-oob"
],
"app_type": "spa",
"is_first_party": true,
"oidc_conformant": false,
"jwt_configuration": {
"lifetime_in_seconds": 201148777010,
"scopes": {},
"alg": "RS256"
},
"sso": true,
"cross_origin_auth": false,
"cross_origin_loc": "consequat",
"sso_disabled": false,
"custom_login_page_on": true,
"form_template": "sunt",
"client_metadata": {},
"initiate_login_uri": "https://mydomain/login",
"client_id": "b2ioefEoeoifijwowifiofof",
"client_secret": "jfi32jofjsoifjoeiioosof"
}