← Back to release summary

Push API : Allow passing a base64url-encoded value to `applicationServerKey`

Category
Miscellaneous
Type
New or changed feature
Status
Enabled by default (Chrome 76)
Intent stage
None

Summary

The applicationServerKey option is used by the user agent when establishing a push subscription with a push service. This is the key that the application server will use to authenticate itself when sending push messages to this push subscription. Currently, applicationServerKey only supports BufferSource in Chrome. After this change, it can also accept a base64url encoded value.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/PushManager/subscribe

View on chromestatus.com