You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this goes against the usage of explicitly calling setKeys() per the documentation, IMO it's a flawed API design where you can enter this situation at all. Regrettably, fixing it all the way through ends up being a breaking change somewhere along the way, likely either in the JWT constructor or in the getEncoded method.
The text was updated successfully, but these errors were encountered:
This is intended as a convenience tool to avoid having to work with too
many classes in too many places. It aims to simplify the end-user API.
See #10.
Typed property Firehed\JWT\JWT::$keys must not be accessed before initialization in /app/vendor/firehed/jwt/src/JWT.php:49
To reproduce:
While this goes against the usage of explicitly calling
setKeys()
per the documentation, IMO it's a flawed API design where you can enter this situation at all. Regrettably, fixing it all the way through ends up being a breaking change somewhere along the way, likely either in theJWT
constructor or in thegetEncoded
method.The text was updated successfully, but these errors were encountered: