Closed martinlasek closed 5 years ago
Thank you! Will update the library soon! 👍
Doesn't seem like a fix has been released
@AAAstorga any chance of getting this updated? I'm happy to submit a PR from our fork!
Have submitted the PR here https://github.com/vapor-community/ferno/pull/4 with @MartinLasek's suggested change!
I haven't tried, but as painful this whole ordeal is, I merged and tagged 0.4.0 with it, so at least there's some movement. Please check if it works.
Scared myself a bit there that I'd somehow broken things... turned out I just had to delete the .build
folder to resolve some issues with SPM pulling the latest version! It's all working great now, thanks for merging 😊
Thanks for the update :)
If your project depends on JWT
3.0.0
and you also try using this (Ferno) package with it's dependency of JWT being3.0.0-rc.2.1.1
, you'll end up having the highest thus JWT 3.0.0 fetched into your project.This leads to Ferno not being able to compile because
Payload
no longer conforms toJWTPayload
.Currently it implements
I haven't worked enough with JWT to create a mergable PR so I am not sure if this would even be a temporary fix for the current package implementation:
But it conforms and compiles, obviously the
signer
passed into the function is never used, but this sounds like it does what it is expected to do: verify.