Skip to content

Commit 5258d83

Browse files
committed
wait for token fix
1 parent e987f70 commit 5258d83

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/wait-for-token.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,14 @@ The `publicAccessToken` returned by `wait.createToken()` is scoped to that speci
8282
</Step>
8383
</Steps>
8484

85+
## Completing via webhook callback
86+
8587
<Warning>
86-
The `token.url` (webhook callback URL) is designed for server-to-server use and does **not** have
87-
CORS headers. Don't call it from the browser — use the pattern above instead.
88+
The `token.url` webhook callback URL is designed for server-to-server use and does **not** have
89+
CORS headers. Don't call it from the browser, use the [Completing from the
90+
browser](#completing-from-the-browser) pattern instead.
8891
</Warning>
8992

90-
## Completing via webhook callback
91-
9293
Or you can make an HTTP POST request to the `url` it returns. This is an HTTP callback:
9394

9495
```ts

0 commit comments

Comments
 (0)