Skip to main content

Fetch Current User Auth

This component is used to send a request to Supabase and retrieve all authorisation data on the currently logged in user. After a success it updates the auth, session and loggedIn properties on the Noodl object with the id currentUser.

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

Inputs

SignalsDescription
DoTriggers the fetch request call.

Outputs

DataDescription
Logged InA boolean that holds the users current login state.
SignalsDescription
DoneSends a signal when the request has finished.