Skip to content

Commit

Permalink
Update website/src/pages/v1/serve/features/auth/jwt.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Aug 20, 2024
1 parent 74acb7a commit 38396c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/pages/v1/serve/features/auth/jwt.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ export const serveConfig = defineConfig({
// Set where to extract the payload
resolveUser: ctx => ctx.jwt?.payload,
// If you want to continue execution even if some fields are rejected
rejectUnauthorized: false
rejectUnauthenticated: false
})
]
})
Expand Down

0 comments on commit 38396c1

Please sign in to comment.