web-push-libs / pywebpush

Python Webpush Data encryption library
Mozilla Public License 2.0
303 stars 52 forks source link

Unauthorized error while sending notifications to edge device #151

Open saurabh-engg-outbound opened 1 year ago

saurabh-engg-outbound commented 1 year ago

I am using this library for sending webpush to my edge device but it always return error with 401-Unauthorized. Endpoint for edge is something like this - https://db3.notify.windows.com/?token=AgUAAADCQmTg7OMlCg%2fK0K8rBPcBqHuy%2b1rTSNPMuIzF6BtvpRdT7DM4j%2fs%2bNNm8z5l1QKZMtyjByKW5uXqb9V7hIAeA3i8FoKR%2f49ZnGgyUkAhzix%2fuSuasL3jalk7562F4Bpw%3d

I am also using this library for safari devices where it is working fine. Please let me know if something has to be changed to get it work for edge