Upgrade v8.9.0 to v8.9.1 - /Api/access_token error 500

Hello,

Since my last update v8.9.1, i can’t use /Api/access_token i have this body response with 500 error code and 0 log :

{
    "error": "unknown_error",
    "error_description": "Not Authorized",
    "message": "Not Authorized"
}

Thanks for your help,

Best,

Gary

Could you please check if the public and private key files are present in the Api/V8/OAuth2/ directory?

Yes, i have this files. i downgrade version to 8.9.0 and it’s works. I think the problem come in changes for 8.9.1.

Now, do check apache log

Hi. I work with Gary, and could work-around the issue by modifying the db directly (probably a bad idea) and setting the ‘employee_status’ of the assigned user to ‘Active’, despite the fact that ‘show_on_employees’ is ‘0’ (false).
I suspect that ‘isEnabled()’ should check ‘show_on_employees’ before reading ‘employee_status’, but I’m definitely a non-expert here so my common sense may not match the expectations of SuiteCRM.

You can raise an issue on the SuiteCRM GitHub page.