Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc(#45): Mention JWT sub claim matters #51

Merged
merged 1 commit into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading