I'm starting to use Web Push Notification; I don't know where I can find the auth
key:
var pushSubscription = {
endpoint: '< Push Subscription URL >',
keys: {
p256dh: '< User Public Encryption Key >',
auth: '< ???? User Auth Secret ???? >'
}
};
I can get endpoint
and p256dh
from ServiceWorker>registeration.pushManager.getSubscription()
but not the auth
key.
Thanks