JSONWebToken.swift icon indicating copy to clipboard operation
JSONWebToken.swift copied to clipboard

Support for ES256 signature

Open blackarcanis opened this issue 7 years ago • 3 comments

Hi, Seems useful to support ES256, Apple require it for Apple Music API => https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/SetUpWebServices.html#//apple_ref/doc/uid/TP40017625-CH2-SW1

blackarcanis avatar Apr 04 '18 11:04 blackarcanis

Still nothing?

ricocrescenzio95 avatar Jul 17 '18 15:07 ricocrescenzio95

If you want to sign Apple's JWT on iOS/macOS, you could also try CupertinoJWT, which was pre-released recently. I've wrote it because I couldn't find a solution for creating JWT used for Apple's server APIs on iOS/macOS.

ethanhuang13 avatar Aug 27 '18 23:08 ethanhuang13

This project is seemingly no longer being maintained by its owner, but IBM’s Swift-JWT supports ES256 signing and verifying on Apple platforms and Linux, and it is an excellent replacement in my experience.

ETA: I’ve used Swift-JWT to connect to APNS, so it should also work for Apple Music.

jonblatho avatar Jul 14 '19 04:07 jonblatho