The Wix Authentication API enables you to implement custom member registration and login for headless projects. Use this API to manage user authentication, while ensuring secure access.
With the Wix Authentication API, you can:
After successful authentication, use the returned sessionToken to get the site member's access and refresh tokens for ongoing API access.
Note: You can use the Redirects API to let Wix handle authentication if you prefer a managed solution.
After successful authentication, you receive a sessionToken that serves as proof of authentication:
It's important to note the following points before starting to code: