--- title: Fetch Current User Profile Data hide_title: true --- # Fetch Current User Auth This component is used to send a request to Supabase and retrieve all profile data on the currently logged in user. After a success it updates the `profile` property on the Noodl object with the id `currentUser`.
![](/library/prefabs/supabase/fetchdata.png)
> Please note that [Supabase Client](/library/prefabs/supabase/components/setup-client/) needs to be set up in your app before you can properly use this component. ## Inputs | Signals | Description | | -------------------------------------- | -------------------------------- | | Do | Triggers the fetch request call. | ## Outputs | Data | Description | | --------------------------------------- | ---------------------------------------------------- | | Error | Outputs the the error message if the request failed. | | Signals | Description | | ------------------------------------------------ | -------------------------------------------------------- | | Success | Sends a signal if the request is successful. | | Failure | Sends a signal if the request has failed. | | No User Data | Sends a signal if there is no user data to be retrieved. |