Skip to content

Commit

Permalink
doc(#45): Mention JWT sub claim matters (#51)
Browse files Browse the repository at this point in the history
Co-authored-by: 121593 <5079173-121593@users.noreply.gitlab.com>
  • Loading branch information
121593 and 121593 committed May 24, 2024
1 parent f00044c commit ccd82a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/03 - Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@
# config/packages/bentools_webpush.yaml (SF4)
bentools_webpush:
settings:
# subject: <URI>
public_key: 'your_public_key'
private_key: 'your_private_key'
```
The subject is optional, with a fallback being `router.request_context.host`.
You may need to define it explicitly if you are working in a CLI context.

Note that Apple requires the subject to be an URL or a mailto URL.

#### Update your router:
```yaml
# app/config/routing.yml (SF3)
Expand Down

0 comments on commit ccd82a7

Please sign in to comment.