We have implemented OAuth to connect the app with the store. Since this is a Sales channel, we need access to the storefront API. Hence, to fetch storefront access token using the access token generated from OAuth, in the _app.js we have used getInitialprops to make the admin api call to fetch the storefront access token.
All of these works fine in our local setup - we are able to spin up the sales channel, view the products there. When we try deploying the sales channel app to Amplify, we see 'AccessDenied'.