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.
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: