File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
ruby-directory-sync-example Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,17 @@ Head to `http://localhost:4567`!
38
38
39
39
[ Ngrok] ( https://ngrok.com/ ) is a simple application that allows you to map a local endpoint to a public endpoint.
40
40
41
- The application will run on http://localhost:8000 . Ngrok will create a tunnel to the application so we can receive webhooks from WorkOS.
41
+ The application will run on http://localhost:4567 . Ngrok will create a tunnel to the application so we can receive webhooks from WorkOS.
42
42
43
43
``` sh
44
- ./ngrok http 8000
44
+ ./ngrok http 4567
45
45
```
46
46
47
47
### 3. Set Up a WorkOS Endpoint
48
48
49
49
Log into the [ WorkOS Dashboard] ( https://dashboard.workos.com/webhooks ) and add a Webhook endpoint with the public ngrok URL with ` /webhooks ` appended.
50
50
51
- The local application is listening for webhook requests at http://localhost:8000 /webhooks
51
+ The local application is listening for webhook requests at http://localhost:4567 /webhooks
52
52
53
53
### 4. Set Up Webhooks Secret
54
54
@@ -60,4 +60,4 @@ Then populate the following environment variable in your `.env` file at the root
60
60
WORKOS_WEBHOOK_SECRET=your_webhook_secret
61
61
```
62
62
63
- For more information, see the [ WorkOS Ruby SDK documentation] ( https://docs.workos.com/sdk/ruby ) .
63
+ For more information, see the [ WorkOS Ruby SDK documentation] ( https://docs.workos.com/sdk/ruby ) .
You can’t perform that action at this time.
0 commit comments