User authentication in native apps

Default User Authentication

In the default user auth process, Ecwid will call your iframe URL like this:

https://www.example.com/my-app-iframe-page#53035362c226163636573735f746f6b656e223a22776d6

Where the #53035362c226163636573735f746f6b656e223a22776d6 is the payload, containing store information described above.

This process allows for simple user authentication in your app using the Ecwid JS SDK.

Continue with default authentication

Enhanced Security User Authentication

In the enhanced security auth process, Ecwid will call your iframe URL like this:

https://www.example.com/my-app-iframe-page?payload=353035362c226163636573735f746f6b656e223a22776d6&app_state=orderId%3A%2012&cache-killer=13532

Where the ?payload=353035362c226163636573735f746f6b656e223a22776d6&app_state=orderId%3A%2012 is the payload and app state, containing store information described above.

We recommend using this type of authentication for complex applications that can modify parts of a store and require additional security measures on server-side.

Continue with enhanced security authentication

📘

By default, Ecwid uses Default User Authentication so you can start working on your application's tab right away. If you need your app to be switched to Enhanced Security User Authentication, please contact us and we will update your app.