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