OAuth 2.1
Yetkilendir
Kullanıcıyı onay ekranına götürür (oturum yoksa önce giriş). Onaylanınca redirect_uri?code=…&state=… adresine döner; reddedilirse error=access_denied. PKCE (S256) zorunludur.
Yetkilendirme
Kimlik doğrulama gerekmez.
Sorgu parametreleri
response_typestringzorunluYalnız
code.Değerler
codeclient_idstringzorunluKayıtta alınan kimlik ya da CIMD adresi.
redirect_uristringzorunluKayıtlı dönüş adresi.
scopestringisteğe bağlıcrm.read crm.write (ve isteğe bağlı offline_access). Boşsa ikisi birden.statestringisteğe bağlıİstemcinin CSRF değeri (aynen döner).
code_challengestringzorunluBASE64URL(SHA256(code_verifier)).
code_challenge_methodstringzorunluYalnız
S256.Değerler
S256resourcestringisteğe bağlıMCP kaynağı (
https://<kurulum>/mcp) — REST için boş bırakın.İstek
https://ornek.solk.app/oauth/authorize?response_type=code&client_id=crm_Jq8w…&redirect_uri=https%3A%2F%2Fuygulamaniz.com%2Foauth%2Fcallback&scope=crm.read%20crm.write&state=xyz123&code_challenge=E9Melhoa2Owv…&code_challenge_method=S256Yanıt
HTTP/1.1 302 Found
Location: https://uygulamaniz.com/oauth/callback?code=Zx8…&state=xyz123