SuiteCRM API does not generate JWT

Keywords: SuiteCRM - AWS - Technical issue - Application configuration

bndiagnostic ID: 07216854-0480-32ee-1a48-22a2512cb981

bndiagnostic output:

? Apache: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/

bndiagnostic failure reason: The documentation did not make any significant change

Description:
Using OAuth2 Client Credentials, i have called https://domain/API/access_token
Recevied this error:
{
“error”: “unknown_error”,
“message”: "It was not possible to parse your key, reason: "
}

When accessed from UI, it shows that a new Access Token Record ID is created with empty JWT.

Can’t see any JWT in the response.

Some message from error logs :
[Tue May 24 23:17:53.966714 2022] [proxy_fcgi:error] [pid 20774:tid
139724815562496] [client ip_address:52660] AH01071: Got error 'PHP message:
PHP Deprecated: Replicating claims as headers is deprecated and will removed
from v4.0. Please manually set the header if you need it replicated. in
Press [Enter] to continue:
/bitnami/suitecrm/vendor/lcobucci/jwt/src/Builder.php on line 352PHP message:
PHP Deprecated: Using integers for registered date claims is deprecated, please
use DateTimeImmutable objects instead. in / [Tue May 24 23:17:56.659378 2022]
[proxy_fcgi:error] [pid 20774:tid 139724865918720] [client ip_address:52661]
AH01071: Got error 'PHP message: PHP Deprecated: Replicating claims as headers
is deprecated and will removed from v4.0. Please manually set the header if you
need it replicated. in /bitnami/suitecrm/vendor/lcobucci/jwt/src/Builder.php on
line 352PHP message: PHP Deprecated: Using integers for registered date claims
is deprecated, please use DateTimeImmutable objects instead. in / [Tue May 24
23:19:23.614802 2022] [proxy_fcgi:error] [pid 21472:tid 140649970001664] [client
ip_address:52712] AH01071: Got error 'PHP message: PHP Deprecated:
Replicating claims as headers is deprecated and will removed from v4.0. Please
manually set the header if you need it replicated. in
/bitnami/suitecrm/vendor/lcobucci/jwt/src/Builder.php on line 352PHP message:
PHP Deprecated: Using integers for registered date claims is deprecated, please
use DateTimeImmutable objects instead. in /

Hi @suitecrm_dev_1,

Thank you for using our solution. That’s a specific question about the application so we suggest you ask in the official forums of the application to get more information about that. The app’s documentation should also describe how to troubleshoot this error, so please take a look at it too.

However, we will also keep this ticket open in this forum in case any Bitnami user ran into the same issue recently.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.