Im using postman to get my access_token http://localhost/suiteCRMGithub/Api/access_token. I have setup my private and public keys.
This works fine ive tried both client_credentials and password. Then on another server im taking that token and decrypting it which works just fine im able to get aud,jti,iat,nbf,exp,sub and scopes. What im looking for is how do i get the user that logged in id? The id of the person that put in there username and password? The aud holds the oauth client id but i need to to know what user actually logged in. Also i would want to add this info to the token so when the other servers decrypted the token they know what user this token belongs too.
Thanks for your help.