Thanks for the awesome plugin. I have a little question that you might be of help.
I created my own plugin for authenticating social media login (facebook, twitter, etc.) and I want AAM to programmatically issue token for the user. I already tried something like:
$aam = new AAM_Service_Jwt();
$jwt = $aam->issueToken($userId);
But the API seems to be malfunction (error 500)
Could you please guide how to use AAM to issue the token?