Re: [w3c/push-api] How do I authenticate a user (#314)

You can simply **associate each push subscription that you store in your database to a user (ID)**. We use that for Pushpad and it works perfectly.

**The "unique secret" is simply the endpoint**. That is granted by the standard (consider that in the past the endpoint was the only thing required in order to send a push message).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/314#issuecomment-731735589

Received on Sunday, 22 November 2020 11:49:21 UTC