Skip to content

Commit 30c834d

Browse files
committed
docs: link auth-modes timing-safe mentions to security.md
1 parent 463d131 commit 30c834d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/auth-modes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
4646

4747
## Public mode
4848

49-
Validates that the `apikey` header contains a recognized publishable key. Uses timing-safe comparison to prevent timing attacks.
49+
Validates that the `apikey` header contains a recognized publishable key. Uses timing-safe comparison to prevent timing attacks. See [`security.md`](security.md) for details.
5050

5151
```ts
5252
import { withSupabase } from '@supabase/server'
@@ -71,7 +71,7 @@ By default, `public` mode validates against the `"default"` key in `SUPABASE_PUB
7171

7272
## Secret mode
7373

74-
Validates that the `apikey` header contains a recognized secret key. Same timing-safe comparison as public mode.
74+
Validates that the `apikey` header contains a recognized secret key. Same timing-safe comparison as public mode. See [`security.md`](security.md) for details.
7575

7676
```ts
7777
import { withSupabase } from '@supabase/server'

0 commit comments

Comments
 (0)