Authorization Endpoint
curl --request GET \
--url https://api.headlesscommerce.io/v1/oauth/authorize"<string>"OAuth 2.1
Authorization Endpoint
Starts the OAuth 2.1 Authorization Code flow with PKCE.
Renders a login and consent form. After the user authenticates
and selects a store, the browser is redirected to redirect_uri
with an authorization code and state.
GET
/
oauth
/
authorize
Authorization Endpoint
curl --request GET \
--url https://api.headlesscommerce.io/v1/oauth/authorize"<string>"Query Parameters
OAuth client identifier from /oauth/register
Registered redirect URI
Must be code
Available options:
code Space-separated scopes (e.g. products:read orders:write)
Opaque CSRF token returned in the redirect
PKCE code challenge (Base64-URL of SHA-256 hash)
Available options:
S256 Response
HTML login/consent form
The response is of type string.
⌘I