You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browsers need to verify your identity. A standard called VAPID can authenticate you for all browsers. You'll need to create and provide a public and private key for your server. These keys must be safely stored and should not change.
135
+
Browsers need to verify your identity. A standard called VAPID can authenticate you for all browsers based on [RFC8292](https://www.rfc-editor.org/rfc/rfc8292).
136
+
You'll need to create and provide a public and private key for your server. These keys must be safely stored and should not change.
137
+
138
+
According to the standard it is optional to provide contact details by the `subject` property.
139
+
In practice all browsers require a valid `subject` which can contain an email address or an available https website. It should not change.
140
+
Please note that browser manufacturers may use additional verification methods to prevent abuse of the push service.
136
141
137
142
You can specify your authentication details when instantiating WebPush. The keys can be passed directly (recommended), or you can load a PEM file or its content:
138
143
@@ -144,19 +149,27 @@ use Minishlink\WebPush\WebPush;
0 commit comments