I get a Lcobucci\JWT\Signer\InvalidKeyProvided ... It was not possible to parse your key, reason: * error:1E08010C:DECODER routines::unsupported on the following code:
I realize the article is written against an older version of JWT so I'm trying to figure out if I need to update something to get this working. The changelog docs seem to suggest that getToken should accept params from a config object (which I think I'm doing).
I found an old issue asking something similar, with a link to an openssl thread (https://github.com/lcobucci/jwt/issues/983), but I'm not sure what the fix would be in relation to my issue.
I'm following along with this guide to get laravel working with Apple login: https://bannister.me/blog/generating-a-client-secret-for-sign-in-with-apple-on-each-request
I get a
Lcobucci\JWT\Signer\InvalidKeyProvided
...It was not possible to parse your key, reason: * error:1E08010C:DECODER routines::unsupported
on the following code:I realize the article is written against an older version of JWT so I'm trying to figure out if I need to update something to get this working. The changelog docs seem to suggest that
getToken
should accept params from a config object (which I think I'm doing).I found an old issue asking something similar, with a link to an openssl thread (https://github.com/lcobucci/jwt/issues/983), but I'm not sure what the fix would be in relation to my issue.
Any pointers/help would be greatly received!