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
I'm constantly hitting issues with messing with VAPID keys as it's a buffer that I need to get into the web page, convert to unit8array and then find a way to store the VAPID keys so that I can then get that value back out and pass into the web-push library.
Exporting and importing VAPID keys as base64 url safe strings at least makes storing and re-using easier with the web push libs and we can then provide an example of how to use this base64 url string as the applicationServerKey in the page.
I'm constantly hitting issues with messing with VAPID keys as it's a buffer that I need to get into the web page, convert to unit8array and then find a way to store the VAPID keys so that I can then get that value back out and pass into the web-push library.
Exporting and importing VAPID keys as base64 url safe strings at least makes storing and re-using easier with the web push libs and we can then provide an example of how to use this base64 url string as the applicationServerKey in the page.
@marco-c what do you think?
The text was updated successfully, but these errors were encountered: