Skip to content

Commit 29de85b

Browse files
docs: typo in extending-the-session.mdx (#13064)
Typo
1 parent a077603 commit 29de85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/guides/extending-the-session.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To have access to the user id, add the following to your Auth.js configuration:
3434
```
3535

3636
During sign-in, the `jwt` callback exposes the user's profile information coming from the provider.
37-
You can leverage this to add the user's id to the JWT token. Then, on subsequent calls of this API will have access to the user's id via `token.id`.
37+
You can leverage this to add the user's id to the JWT token. Then, on subsequent calls of this API you will have access to the user's id via `token.id`.
3838
Then, to expose the user's id in the actual session, you can access `token.id` in the `session` callback and save it on `session.user.id`.
3939

4040
Calls to `auth()` or `useSession()` will now have access to the user's id.

0 commit comments

Comments
 (0)