web-push


What is VAPID and why is it useful?


I've just learned about VAPID recently and have been looking around for the reasoning why it exists and what its purpose is. Mozilla's blog post explains that "including VAPID information will let us contact you if we see a problem", but I'm not exactly sure what they mean by this. Are they doing some sort of monitoring to prevent other people from mimicking your service?
The abstract of the VAPID specification explains everything:
An application server can voluntarily identify itself to a push
service using the described technique. This identification
information can be used by the push service to attribute requests
that are made by the same application server to a single entity.
This can used to reduce the secrecy for push subscription URLs by
being able to restrict subscriptions to a specific application
server. An application server is further able to include additional
information that the operator of a push service can use to contact
the operator of the application server.
So there are two reasons for VAPID.
The first is to restrict the validity of a subscription to a specific application server (so, by using VAPID, only your server will be able to send notifications to a subscriber).
The second is to add more information to the push notification, so that the push service operator knows who is sending the notifications. If something is going wrong with your notifications, the operator knows who you are and can contact you. Moreover, they can offer you some kind of interface to monitor your push notifications.

Related Links

My Pushpad Sender does not send any more notifications
Pushpad or Web push notification how to custom dialog message
What is VAPID and why is it useful?
How can I test pushsubscriptionchange event-handling code?
How should I handle the pushsubscriptionchange event?
How can I hide notifications my site is displaying if it is focused and brought to the foreground?
Do I need to show a notification in response to a push notification if my site is foreground and focused?
Getting customized message from GCM using Web push notifications
Firefox Push API - AbortError: Error retrieving push subscription

Categories

HOME
libgdx
cucumber
seedstack
applescript
command-prompt
celery
semantic-web
tfs2015
jint
haxe
fedora
mithril.js
cdi
selection
msmq
driver
match
nexus3
grocery-crud
tfsbuild
bazaar
multiple-tables
error-logging
unity-container
backtracking
sharedpreferences
qa
ini
ava
quartz.net
managed-c++
tortoisemerge
clipboard
points
jackrabbit-oak
gravity-forms-plugin
code-climate
dnsmasq
mdns
commonsware-cwac
gsp
winrm
apptentive
des
forms-authentication
identify
aurelia-cli
cartopy
eclipse-gmf
optionaldataexception
htmlspecialchars
mongodb-aggregation
wikimapia
business-rules
maatwebsite-excel
portal
jenkins-workflow
bbc-micro
highlighting
linuxbrew
pythonxy
jnlp
artisan
console.log
azure-xplat-cli
sablecc
html-escape-characters
htmltidy
n-tier-architecture
vs-unit-testing-framework
utf8-decode
network-printers
jini
thruway
sql-function
nodeload
san
non-ascii-characters
django-facebook
lru
node.js-stream
background-thread
reentrancy
gprof
smartfox
ip-geolocation
live-wallpaper
clearinterval
workflow-manager-1.x
jdom
pcspim
prototypal-inheritance
mmc3
net-use
qt-mobility
nosetests
canonicalization
mediacontroller
rtd
explicit
odac
fxruby

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App