Skip to main content

Log In

This component is used to log a user out.

Please note that Supabase Client needs to be set up in your app before you can properly use this component.

On success

When a user has successfuly been logged out the Log Out component will empty the Noodl Object with the id currentUser.

A successful log out will also trigger a Supabase User Logged Out event. You can hook into to this event anywhere in your app using a Receive Event node.

Inputs

SignalsDescription
DoTriggers the login call.

Outputs

DataDescription
ErrorThe error sent back after a failed logout call to supabase
SignalsDescription
SuccessSends a signal when the request succeeded.
FailureSends a signal when an error occurred, and logs an error message in the console.