Unable to retrieve an access token using the Customer Account API

Documentation: https://shopify.dev/docs/api/customer

Note: I’ve refactored all the syntax to PHP.

I’m encountering difficulty retrieving an access token for a customer through the Customer Account API. While I can successfully construct the authorization URL and receive a code in return, the callback script doesn’t yield any response from Shopify.