Skip to content

Commit

Permalink
Updated README.md to include example for authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelaguiar committed Nov 12, 2024
1 parent dd369ad commit 99adec3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ window.Echo = new Echo({
broadcaster,
// replace the placeholders
host: 'wss://{api-ip}.execute-api.{region}.amazonaws.com/{stage}',
authEndpoint: '{auth-url}/broadcasting/auth', // Optional: Use if you have a separate authentication endpoint
bearerToken: '{token}', // Optional: Use if you need a Bearer Token for authentication
});
```

Expand Down

0 comments on commit 99adec3

Please sign in to comment.