메인 콘텐츠로 건너뛰기
GET
/
oauth
/
authorize
인가 엔드포인트
curl --request GET \
  --url https://api.headlesscommerce.io/v1/oauth/authorize
"<string>"

쿼리 매개변수

client_id
string
필수

/oauth/register에서 발급받은 OAuth 클라이언트 ID

redirect_uri
string<uri>
필수

등록된 리다이렉트 URI

response_type
enum<string>
필수

code여야 합니다

사용 가능한 옵션:
code
scope
string
기본값:admin

공백으로 구분된 스코프 (예: products:read orders:write)

state
string

리다이렉트에서 반환되는 CSRF 방지 토큰

code_challenge
string
필수

PKCE 코드 챌린지 (SHA-256 해시의 Base64-URL)

code_challenge_method
enum<string>
기본값:S256
사용 가능한 옵션:
S256

응답

HTML 로그인/동의 폼

The response is of type string.