Skip to content

Commit

Permalink
docs: Fixed broken link (nextauthjs#8172)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamzah-syed authored Jul 31, 2023
1 parent c0f9af4 commit 87ec13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/guides/adapters/using-a-database-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Using a database adapter
---

An **Adapter** in Auth.js connects your application to whatever database or backend system you want to use to store data for users, their accounts, sessions, etc. Adapters are optional, unless you need to persist user information in your own database, or you want to implement certain flows. The [Email Provider](/getting-started/email-tutorial) requires an adapter to be able to save [Verification Tokens](/reference/adapters/models#verification-token).
An **Adapter** in Auth.js connects your application to whatever database or backend system you want to use to store data for users, their accounts, sessions, etc. Adapters are optional, unless you need to persist user information in your own database, or you want to implement certain flows. The [Email Provider](/getting-started/email-tutorial) requires an adapter to be able to save [Verification Tokens](/reference/adapters#verification-token).

:::tip
When using a database, you can still use JWT for session handling for fast access. See the [`session.strategy`](/reference/configuration/auth-config#session) option. Read about the trade-offs of JWT in the [FAQ](/concepts/faq#json-web-tokens).
Expand Down

0 comments on commit 87ec13b

Please sign in to comment.