Skip to content

Push Notifications - Generate VAPID keys

DjangoLDP should be able to generate a public/private VAPID keyset.

This can be done with a management command, saving the keyset within a new model.

After that, the public key must be shared with the client side, for their service worker. This should be done by the auto-deployment.

Example: https://gist.github.com/cjies/cc014d55976db80f610cd94ccb2ab21e