Member Registration and Login: Sample Use Cases and Flows

This article shares some possible use cases your app could support, as well as a sample flow that could support each use case. This can be a helpful jumping-off point as you plan your Headless project's implementation.

Log in an existing member and generate a session token for subsequent authenticated API calls

This flow guides you through logging in an existing member and generating a session token for authenticated API calls using the Wix Authentication API.

To log in an existing member and generate a session token:

  1. Call Login V 2 to log in the existing member.
  2. Using the session token sent in the response, generate and use the member token for subsequent authenticated API calls.
Did this help?