Skip to content

Commit 65aacbe

Browse files
committed
docs: fix links
1 parent 7dbfa5d commit 65aacbe

File tree

5 files changed

+20
-19
lines changed

5 files changed

+20
-19
lines changed

docs/docs/adapters/overview.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,20 @@ When using a database, you can still use JWT for session handling for fast acces
1111

1212
We have a list of official adapters that are distributed as their own packages under the `@next-auth/{name}-adapter` namespace. Their source code is available in their various adapters package directories at [`nextauthjs/next-auth`](https://github.com/nextauthjs/next-auth/tree/main/packages).
1313

14-
- [`xata`](./xata)
15-
- [`prisma`](./prisma)
16-
- [`fauna`](./fauna)
17-
- [`dynamodb`](./dynamodb)
18-
- [`firebase`](./firebase)
19-
- [`pouchdb`](./pouchdb)
20-
- [`mongodb`](./mongodb)
21-
- [`neo4j`](./neo4j)
22-
- [`typeorm-legacy`](./typeorm)
23-
- [`sequelize`](./sequelize)
24-
- [`supabase`](./supabase)
25-
- [`dgraph`](./dgraph)
26-
- [`upstash-redis`](./upstash-redis)
14+
- [`dgraph`](https://authjs.dev/reference/adapter/dgraph)
15+
- [`dynamodb`](https://authjs.dev/reference/adapter/dynamodb)
16+
- [`fauna`](https://authjs.dev/reference/adapter/fauna)
17+
- [`firebase`](https://authjs.dev/reference/adapter/firebase)
18+
- [`mongodb`](https://authjs.dev/reference/adapter/mongodb)
19+
- [`prisma`](https://authjs.dev/reference/adapter/prisma)
20+
- [`typeorm-legacy`](https://authjs.dev/reference/adapter/typeorm)
21+
- [`MikroORM`](https://authjs.dev/reference/adapters/mikro-orm)
22+
- [`neo4j`](https://authjs.dev/reference/adapters/neo4j)
23+
- [`pouchdb`](https://authjs.dev/reference/adapters/pouchdb)
24+
- [`sequelize`](https://authjs.dev/reference/adapters/sequelize)
25+
- [`supabase`](https://authjs.dev/reference/adapters/supabase)
26+
- [`upstash-redis`](https://authjs.dev/reference/adapters/upstash-redis)
27+
- [`xata`](https://authjs.dev/reference/adapters/xata)
2728

2829
## Custom Adapter
2930

docs/docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ NextAuth.js records Refresh Tokens and Access Tokens on sign in (if supplied by
207207

208208
You can then look them up from the database or persist them to the JSON Web Token.
209209

210-
Note: NextAuth.js does not currently handle Access Token rotation for OAuth providers for you, however you can check out [this tutorial](/tutorials/refresh-token-rotation) if you want to implement it.
210+
Note: NextAuth.js does not currently handle Access Token rotation for OAuth providers for you, however you can check out [this tutorial](https://authjs.dev/guides/basics/refresh-token-rotation) if you want to implement it.
211211

212212
We also have an [example repository](https://github.com/nextauthjs/next-auth-refresh-token-example) / project based upon NextAuth.js v4 where we demonstrate how to use a refresh token to refresh the provided access token.
213213

docs/docs/getting-started/upgrade-to-v4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export default NextAuth({
311311

312312
3. The `typeorm-legacy` adapter has been upgraded to use the newer adapter API, but has retained the `typeorm-legacy` name. We aim to migrate this to individual lighter weight adapters for each database type in the future, or switch out `typeorm`.
313313

314-
4. MongoDB has been moved to its own adapter under `@next-auth/mongodb-adapter`. See the [MongoDB Adapter docs](/adapters/mongodb).
314+
4. MongoDB has been moved to its own adapter under `@next-auth/mongodb-adapter`. See the [MongoDB Adapter docs](https://authjs.dev/reference/adapter/mongodb).
315315

316316
Introduced in https://github.com/nextauthjs/next-auth/releases/tag/v4.0.0-next.8 and https://github.com/nextauthjs/next-auth/pull/2361
317317

docs/docs/guides/fullstack.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: fullstack
33
title: Fullstack
44
---
55

6-
### [Refresh Token Rotation](/tutorials/refresh-token-rotation)
6+
### [Refresh Token Rotation](https://authjs.dev/guides/basics/refresh-token-rotation)
77

88
- How to implement refresh token rotation.
99

@@ -21,14 +21,14 @@ title: Fullstack
2121

2222
## Database
2323

24-
### [Custom models with TypeORM](/adapters/typeorm#custom-models)
24+
### [Custom models with TypeORM](https://authjs.dev/reference/adapter/typeorm#custom-models)
2525

2626
- How to use models with custom properties using the TypeORM adapter.
2727

2828
### [Creating a database adapter](/tutorials/creating-a-database-adapter)
2929

3030
- How to create a custom adapter, to use any database to fetch and store user / account data.
3131

32-
### [Adding role based login to database session strategy](/tutorials/role-based-login-strategy)
32+
### [Adding role based login to database session strategy](https://authjs.dev/guides/basics/role-based-access-control)
3333

3434
- Implement a role based login system by adding a custom session callback.

docs/versioned_docs/version-v3/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ NextAuth.js records Refresh Tokens and Access Tokens on sign in (if supplied by
117117

118118
You can then look them up from the database or persist them to the JSON Web Token.
119119

120-
Note: NextAuth.js does not currently handle Access Token rotation for OAuth providers for you, however you can check out [this tutorial](/tutorials/refresh-token-rotation) if you want to implement it.
120+
Note: NextAuth.js does not currently handle Access Token rotation for OAuth providers for you, however you can check out [this tutorial](https://authjs.dev/guides/basics/refresh-token-rotation) if you want to implement it.
121121

122122
### When I sign in with another account with the same email address, why are accounts not linked automatically?
123123

0 commit comments

Comments
 (0)