Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the new JWT-based authentication. #31

Closed
idyll opened this issue Oct 6, 2016 · 2 comments
Closed

Add support for the new JWT-based authentication. #31

idyll opened this issue Oct 6, 2016 · 2 comments

Comments

@idyll
Copy link

idyll commented Oct 6, 2016

Apple is now allowing developers to use a JWT token instead of a cert:
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/APNsProviderAPI.html

Go implementation here:
RobotsAndPencils/buford#63

Interesting things about this new approach:

  1. you need the topic.
  2. you can push to all apps in the org. (hence why you need the topic).
  3. you can only open 1 stream until you send a push. at that point apple will advertise a new max # of streams to you.
@ostinelli
Copy link
Owner

For reference, there has already been a first try from @benubois in #28.

I haven't had the time to check implementations yet.

@idyll
Copy link
Author

idyll commented Oct 6, 2016

This needs changes to the HTTP/2 lib to support. I think a starting # of streams and then the ability to listen to Apples requests to modify those streams.

@idyll idyll closed this as completed Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants