tsndr / cloudflare-worker-jwt

A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers.
MIT License
649 stars 51 forks source link

method jwt.sign() may have a bit of problem #45

Closed saviourdog closed 10 months ago

saviourdog commented 10 months ago

hi,When I use this library's JWT.SIGN method to sign for Apple login, Apple's interface always returns {"error": "invalid_client"}, and when I switch to the jwt.sign method of JSONWEBTOKEN, Apple's interface can be correct return

saviourdog commented 10 months ago

sorry,It turns out that the syntax is a little different

205g0 commented 9 months ago

@saviourdog , did you get it to work with Apple ID's flow finally?