Skip to content

Commit

Permalink
Fix middleware options list
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlc committed Jan 10, 2025
1 parent ae9551a commit 374432e
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions docs/backend-requests/handling/nodejs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,32 @@ These options can be used with both [`ClerkExpressWithAuth`](#clerk-express-with
- `string`

The URL to redirect to when the user is not authenticated.

---

- `isSatellite`
- `boolean | (url: URL) => boolean`

When using Clerk's satellite feature, this should be enabled for secondary domains.

---

- `domain`
- `string | (url: URL) => boolean`

The domain used for satellites to inform Clerk where this application is deployed.

---

- `proxyUrl`
- `string`

If using a proxy, specify the URL of the proxy.
</Properties>

{/* | `strict` | `boolean` | When set to `true`, the middleware will raise an error when an unauthenticated request is made. When set to `false`, the middleware will return an empty auth object. | */}
{/*
- `strict`
- `boolean`
\| `isSatellite` | `boolean \| (url: URL) => boolean` | When using Clerk's satellite feature, this should be enabled for secondary domains. |
\| `domain` | `string \| (url: URL) => boolean` | The domain used for satellites to inform Clerk where this application is deployed. |
\| `proxyUrl` | `string` | If using a proxy, specify the URL of the proxy. |
When set to `true`, the middleware will raise an error when an unauthenticated request is made. When set to `false`, the middleware will return an empty auth object.
*/}

0 comments on commit 374432e

Please sign in to comment.