What is Nostr?
Christian Selig /
npub1me4…0ues
2023-07-05 22:50:56

Christian Selig on Nostr: Anyone familiar with the StoreKit API and know what silly mistake I'm making? As a ...

Anyone familiar with the StoreKit API and know what silly mistake I'm making? As a test, I'm just trying to fetch my JWT string with Ruby, which *seems* to properly output in the format "AAAA.BBBB.CCCC”, and then I try to use that as the auth header to get a list of my apps with:

curl -v https://api.appstoreconnect.apple.com/v1/apps -H "Authorization: Bearer AAAA.BBBB.CCCC” but I always get a 401 Not Authorized error.

What am I doing wrong? 😥

(Fetch code: https://gist.github.com/christianselig/098a6f81f43d041eb4116798b93eb04d)

Author Public Key
npub1me4dmfx38938e68eeuz77f78e5w7nz2nv0jlxqmx0amphmp3sutq6s0ues