-
Notifications
You must be signed in to change notification settings - Fork 65
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
Deprecated code in JWTClaims #330
Comments
PETOSS-320 |
Thanks for raising an issue, a ticket has been created to track your request |
I'm also experiencing issues with If I run the following code...
On the second last line with
Forcing usage of firebase/php-jwt release 6.5.0 in Composer stops the error and returns code to working state. |
This also introduced breaking changes in our app when we pulled in the latest version of the SDK. Are you able to fix the bug from your side or pin the version of |
Your function needs a modification when calling You could either drop the 3rd parameter altogether to
|
SDK you're using (please complete the following information):
Describe the bug
Use of the JWT functions throws deprecation errors
To Reproduce
Steps to reproduce the behaviour:
Deprecated: Creation of dynamic property XeroAPI\XeroPHP\JWTClaims::$accessToken is deprecated in /Users/mymac/Sites/CKM/vendor/xeroapi/xero-php-oauth2/lib/JWTClaims.php on line 139
Deprecated: Creation of dynamic property XeroAPI\XeroPHP\JWTClaims::$jwtAccessDecoded is deprecated in /Users/sarahking/mymac/CKM/vendor/xeroapi/xero-php-oauth2/lib/JWTClaims.php on line 126
Expected behaviour
I expected to get an errorless dump of the JWT Token
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This can obviously be ignored but it would be good to get the code upgraded at some point.
The text was updated successfully, but these errors were encountered: