Users
When you make requests to the backend with api
, the user is automatically added to the request if they're signed in.
Optionally, you can create a page that Requires Authentication. The app will redirect users to another page if they try to access it without being logged in.
You can add an Auth Method like Google, Facebook etc from your dashboard. This will create all the necessary endpoints and helpers for you in your frontend and backend. Once you do this, you can use Required Authentication pages, and the other auth functions.

Last updated