Preview authorization
GET
/ admin/ v1/ stores/ {store_id}/ apps/ authorizeCheck an OAuth authorization request and get what the consent screen shows. The admin's /oauth/authorize page calls this with the parameters the app sent.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Query parameters
client_idstringrequiredredirect_uristringrequiredMust exactly match one of the app's registered redirect URLs.
scopestringSpace- or comma-separated scopes, within the app's manifest. The grant is always the manifest's scopes; the token response reports them.
statestringReturned unchanged to the app, to bind the response to its request.
code_challengestringPKCE (RFC 7636):
BASE64URL(SHA256(code_verifier)).code_challenge_methodstringS256when a challenge is sent.
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Returns
200 The consent screen's content.
Errors
- 404
not_foundUnknown client, or the app is not available to this store. - 422
validation_failedUnregistered redirect URL, bad PKCE or undeclared scope.