SalesforceCommerceCloud / pwa-kit

React-based JavaScript frontend framework to create a progressive web app (PWA) storefront for Salesforce B2C Commerce.
https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pwa-kit-overview.html
BSD 3-Clause "New" or "Revised" License
285 stars 138 forks source link

Error upon deployment - Managed Runtime #436

Closed a1sultan closed 2 years ago

a1sultan commented 2 years ago

Hi there, I am deploying my PWA project on managed runtime, which is working fine locally but throwing error upon MR after deployment. I have also provided the Proxy Configs in Environment Settings. Screenshot is attached for the reference. Any help would be appreciable. Thanks

Screenshot 2022-03-08 at 1 03 40 PM
noahadams commented 2 years ago

Hi Adil, can you verify that you've set this environment https://haven-production.mobify-storefront.com/ as an allowed redirect_uri for your SLAS tenant?

If you have further issues deploying to Managed Runtime, as opposed to with PWA Kit itself, I'd encourage you to contact support via https://help.salesforce.com/

a1sultan commented 2 years ago

Hi @noahadams, thanks for directing my attention to SLAS tenant. There was a typo mistake in my redirectUri. Thanks for your help. Cheers.