Skip to content

Commit

Permalink
docs: remove redundant Callout
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Sep 26, 2024
1 parent b86f7bb commit 6e24f7e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/pages/guides/extending-the-session.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ This is `name`, `email`, and `image`.

A common use case is to add the user's id to the session. Below it is shown how to do this based on the session strategy you are using.

<Callout type="info">
By default, the `id` property does not exist on `token` or `session`. See the [TypeScript](https://authjs.dev/getting-started/typescript) on how to add it.
</Callout>

## With JWT

To have access to the user id, add the following to your Auth.js configuration:
Expand Down

0 comments on commit 6e24f7e

Please sign in to comment.