/auth/signup
endpoint of your project URL, including the email and password within the form fields. Upon successful completion of the request, the user will be logged in, allowing them to make requests to your protected API endpoints.
/auth/signin
endpoint and provide the email and password through form fields.
/auth/signup
and /auth/signin
can accept the following headers to enable header based authentication:
'st-auth-mode': 'header'
you will receive the access token and refresh token in the response header'fg-auth-mode': 'body'
you will receive the access token and refresh token in the response body'Authorization': 'Bearer <token>
to authenticate your requests