Can't seem to get this working on Safari
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start with the README's “Sending data using webpush (one call)” section and compare its vapid_claims handling with Apple's documented JWT requirements for iOS Safari. Reproduce the 403 BadJwtToken with the reported configuration and identify a verified cause; done means Safari push succeeds or the limitation and required configuration are documented.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Working fine on Chrome, FF, Opera, Edge etc tested on Win 10, Win 11 and Android - but not IoS Safari. Whatever I do, I get:
Push failed: 403 Forbidden
Response body:{"reason":"BadJwtToken"}
And this is reported by many people all over the place, so I am not the only one suffering with Apple the special snowflake.
Anybody has a clue what can be tried? The apple documentation says nothing much here: https://developer.apple.com/documentation/usernotifications/sending-web-push-notifications-in-web-apps-and-browsers
"The JSON web token (JWT) has one of following issues: The JWT is missing. The JWT is signed with the wrong private key. The JWT subject claim isn’t a URL or mailto:. The JWT audience claim isn’t the origin of the push service where you sent the request. The JWT expiration parameter is more than one day into the future."
I also changed the "sub" to "subject" in the vapid_claims (https://github.com/web-push-libs/pywebpush?tab=readme-ov-file#sending-data-using-webpush-one-call) since the Apple documentation mentions a "The JWT subject claim" in particular - but no luck.
- Lingua principale
- Python
- Stelle
- 379
- Fork
- 61
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di web-push-libs/pywebpush
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
web-push-libs/pywebpush#190 · 2 commenti ·
-
Async Send FunctionAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
web-push-libs/pywebpush#150 · 1 commento · 4 reazioni ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
web-push-libs/pywebpush#149 · 4 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
web-push-libs/pywebpush#147 · 8 commenti ·
-
Error : Web push send from python backend to fire base using VAPI keys. Unhashable type:'slice'Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
web-push-libs/pywebpush#145 · 7 commenti ·
Tutte le issue di web-push-libs/pywebpush
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
-
[Bug]: Importing weave changes the process-wide localeForse già presa @himanshu748 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
UX
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
mediajunkie/piper-morgan-product#2008 · 2 commenti ·