Can't seem to get this working on Safari
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 379
- フォーク
- 61
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
web-push-libs/pywebpush のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
web-push-libs/pywebpush#190 · コメント 2 件 ·
-
Async Send Functionオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
web-push-libs/pywebpush#150 · コメント 1 件 · リアクション 4 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
web-push-libs/pywebpush#149 · コメント 4 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
web-push-libs/pywebpush#147 · コメント 8 件 ·
-
Error : Web push send from python backend to fire base using VAPI keys. Unhashable type:'slice'オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
web-push-libs/pywebpush#145 · コメント 7 件 ·
web-push-libs/pywebpush の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jbacalso24/mimry#291 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1時間未満 初心者へのやさしさ 82/100
eli-alvarado/us-watchlist-alerts#14 ·
メンテナーはふだん 1 日以内に返信
-
from-review-extraction python severity:nit
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
LearningCircuit/local-deep-research#7462 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
cathrynlavery/diagram-design#441 ·
メンテナーはふだん 2 日以内に返信
-
[Cleanup] Include the public header in work_split.cpp対応中かも @blozano-tt が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
tenstorrent/tt-metal#60850 ·
メンテナーはふだん 1 日以内に返信