From 660ba5f8036279b111abc75a2708b945d4ab0be9 Mon Sep 17 00:00:00 2001 From: nov Date: Fri, 14 Oct 2022 12:17:43 +0900 Subject: [PATCH] stringify jwt secret, faraday does not do so automatically --- lib/apple_id/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apple_id/client.rb b/lib/apple_id/client.rb index c1907b3..ba060fc 100644 --- a/lib/apple_id/client.rb +++ b/lib/apple_id/client.rb @@ -34,7 +34,7 @@ def client_secret_jwt exp: 1.minutes.from_now ) jwt.kid = key_id - jwt.sign(private_key) + jwt.sign(private_key).to_s end def setup_required_scope(scopes)