-
Notifications
You must be signed in to change notification settings - Fork 52
Token Authentication with JSON Web Tokens (JWT) #63
Comments
There are several JWT libraries for Go: https://godoc.org/?q=jwt @groob suggests https://github.com/dgrijalva/jwt-go Header: Claims: authorization = bearer status 403 reason: APNS will continue to support certificate authentication. |
The API needs to support both certificate and token based authentication. It won't be necessary to load a certificate or configure the HTTP/2 client with Go 1.6.1 or better, instead just create a service:
Q: should it be necessary to import http just to specify http.DefaultClient or should nil do the same thing? (then either would work) Perhaps authorization/bearer is just another I kind've like the idea of letting the user do the JWT stuff themselves, or at least independent of the It may make sense to move |
https://jwt.io/ does some validations against various (Go) libraries. |
based on these slides https://developer.apple.com/videos/play/wwdc2016/724/ #63
based on these slides https://developer.apple.com/videos/play/wwdc2016/724/ #63
|
|
based on these slides https://developer.apple.com/videos/play/wwdc2016/724/ #63
What's New in the Apple Push Notification Service
https://developer.apple.com/videos/play/wwdc2016/724/
TODO:
The text was updated successfully, but these errors were encountered: