Does the new Wix OAuth flow return the custom "state" data on redirect?

When setting up the external install flow outlined below, it mentions that custom state data can be passed and appended to the redirect URL. The old (deprecated) flow returns the state token when the callback is invoked, but this isn’t happening for the new flow. We generate a state token on our side, and compare it with what’s returned from Wix. How can I ensure that this token is included when Wix calls the redirect URL (postInstallationUrl).

Does anyone know?

This is what I’m following:

1 Like