Authenticate an user against your app's AppGyver Hosted Auth or AppGyver Cloud Auth backend.
If the authentication is succesful, the local user session is set and the first output is triggered.
If the authentication fails, the second output is triggered.
To use this flow, your app must have its authentication type set as AppGyver Hosted Auth or AppGyver Cloud Auth.
Credentials object to send to the backend. For AppGyver Hosted Auth, this should always contain the
Number of outputs: 2
Object containing the current user information.
Unique user ID for the logged-in user.
Username for the logged-in user, typically an email address
User metadata. Since no schema is enforced by the backend, it is given here as a schemaless object.
Groups the user belongs to.
Access token used to access AppGyver-hosted cloud resources, such as databases or integrations.
Thrown if the authenticating the user failed.