by Mayank Tyagi.
Hey Karishma,
Try this link http://xxx/x/login/token.php?username=admin&password=***&service=shortname.
If this link generate a token same as that of the token generated by you previously then your token is correct.
Regards,
Mayank