---
id: auth-user
title: "auth.user()"
slug: auth-user
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
Returns the user data, if there is a logged in user.
```js
const user = supabase.auth.user()
```
```py
# Not yet implemented
```
## Examples
### Get the logged in user
```js
const user = supabase.auth.user()
```
```py
# Not yet implemented
```