Skip to content

Commit

Permalink
doc(#45): Mention JWT sub claim matters
Browse files Browse the repository at this point in the history
  • Loading branch information
121593 committed May 24, 2024
1 parent f00044c commit e4359fd
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 e4359fd

Please sign in to comment.