OAuth 2.1

Register a client

Dynamic client registration (RFC 7591). redirect_uris must be https or loopback (http://localhost, 127.0.0.1, [::1]); max 10. token_endpoint_auth_method: none registers a public client; client_secret_post / client_secret_basic a confidential one.

POST/oauth/register

Authorization

No authentication required.

Body application/json

redirect_urisarray<string>required
Redirect URIs.
client_namestringoptional
Name shown on the consent screen.
client_uristringoptional
App website (https).
token_endpoint_auth_methodstringoptionaldefault: none
Client authentication.
Valuesnoneclient_secret_postclient_secret_basic
grant_typesarray<string>optional
authorization_code, refresh_token.
Request
curl -X POST https://ornek.solk.app/oauth/register \
  -H "Content-Type: application/json" \
  -d '{
  "client_name": "Örnek Entegrasyon",
  "redirect_uris": [
    "https://uygulamaniz.com/oauth/callback"
  ],
  "token_endpoint_auth_method": "none"
}'
Response
{
  "client_id": "crm_sN-deD6QaASdSwwlE2np8BWe",
  "client_id_issued_at": 1790960821,
  "client_name": "Örnek Entegrasyon",
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "redirect_uris": [
    "https://uygulamaniz.com/oauth/callback"
  ],
  "response_types": [
    "code"
  ],
  "token_endpoint_auth_method": "none"
}