You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the user register endpoint requires storefrontUrl parameter in the payload that will tell the backend what domain the customer is connected to (like sales channel is not enough and also can be different domain for different language and currency - see domains options in sales channel config).
normally we could use window.location.origin but it doesn't really work well for local development or when API is hosted somewhere else which is a common practice, so here's the condition:
I have searched for more infos about "devStorefrontUrl", but haven't found anything more detailed about it.
Does anyone know what it does exactly? A concrete example or documentation would probably be helpful.
The text was updated successfully, but these errors were encountered: