https://shopify.com/authentication/<shop-id>/oauth/authorize failed

Topic summary

A developer is encountering an authentication error with Shopify’s OAuth flow in a headless application.

Technical Details:

  • The OAuth authorization URL (https://shopify.com/authentication/<shop-id>/oauth/authorize) is returning a “Something went wrong” error
  • The request includes standard OAuth 2.0 parameters: client_id, code_challenge (PKCE), redirect_uri, and scopes (openid, email, customer-account-api:full)
  • A screenshot is provided showing the error page

Current Status:

  • The issue remains unresolved with no responses or solutions posted
  • The developer has shared the complete redirect URL and request details for troubleshooting
  • Request ID: 42a4708e-3c79-4f02-8c16-218d46083a85-1734942624
Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

i app is headless. i want to login shopify, this is redirect url

https://shopify.com/authentication/66849702037/verify?client_id=shp_2a229a4c-f6ec-431a-9e92-446cb7332b30&redirect_uri=https%3A%2F%2Fshopify.com%2Fauthentication%2F66849702037%2Foauth%2Fauthorize%3Fclient_id%3Dshp_2a229a4c-f6ec-431a-9e92-446cb7332b30%26code_challenge%3DvceBlh5UHIEzxphjfSjz4ic7ghjXGfhttclLr6rv5co%26code_challenge_method%3DS256%26nonce%3D2Vbh2OlpCUX9Cit8HbX4%26redirect_uri%3Dhttps%253A%252F%252Fdev.valerion.com%252Fglobal%26response_type%3Dcode%26scope%3Dopenid%2Bemail%2Bcustomer-account-api%253Afull%26state%3D1734942603418o4e7gayaq3e

but return error

Something went wrong.

Request ID: 24a4708e-3c79-4f02-8c16-218d46038a85-1734942624

Hide request details

client_id=shp_2a229a4c-f6ec-431a-9e92-446cb7332b30
redirect_uri=https://shopify.com/authentication/66849702037/oauth/authorize?client_id=shp_2a229a4c-f6ec-431a-9e92-446cb7332b30&code_challenge=vceBlh5UHIEzxphjfSjz4ic7ghjXGfhttclLr6rv5co&code_challenge_method=S256&nonce=2Vbh2OlpCUX9Cit8HbX4&redirect_uri=https%3A%2F%2Fdev.valerion.com%2Fglobal&response_type=code&scope=openid+email+customer-account-api%3Afull&state=1734942603418o4e7gayaq3e

use document url is https://shopify.dev/docs/api/customer#step-authorization