-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this work with ES256 algorithm ? #251
Comments
i'm going through the sign with apple function,i want use this library to create the client_secret which the get access_token request needed ,but the request always return {"error":"invalid_client"}.
I am sure the problem is caused by the $key parameter , but not sure if this library is not support the function at all.
Could somebody help me? |
I focus the same issue like @yanzhili. Very interesting. |
I found a library which supports this Sign in with Apple, @yanzhili see example: https://gist.github.com/patrickbussmann/877008231ef082cc5dc4ee5ca661a641 |
I have generated ES256 token successfully via https://github.com/lcobucci/jwt project at PHP 7 environment. But my project is under PHP5.5 situation. I just find out the difference between "lcobucci/jwt" and "firebase/jwt" on making ES256 token flow and reuse "\Lcobucci\JWT\Signer\Ecdsa\MultibyteStringConverter" to fix "firebase/jwt" flow:
more info:
Finally, the pull request, #256, need to be reviewed, maybe it has solved the problem. |
see also #256, where I've added very basic support. |
This support has been added! A tagged release should happen soon but in the meantime you can pull the change down from |
Is this library work with ES256 algorithm ? , if yes may you please provide a sample of code
The text was updated successfully, but these errors were encountered: