-
-
Notifications
You must be signed in to change notification settings - Fork 152
support jwt for live activity #264
Copy link
Copy link
Open
Description
LiveActivity Push using APNs
- when generating a token from pigeon I see that joken adds an extra header to jwt causing Apple reject jwt token when sending a push request
- I used an Authentication Token .p8 file to generate token base request with http2
- temporary solution I use jose
- my solution to generate jwt token for apns live activity https://gist.github.com/chanphiromsok/5f47832cc1b82c1e6c3e8736507fe4f4
- Apple does not allow headers to have
type : "JWT"
#accepted header
headers = %{"alg" => "ES256", "kid" => @key_id}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels