$auth->createCustomToken($signInResult->uid); returns {}
salar-rastari opened this issue · comments
Salar Rastari commented
Hi
I'm using Laravel 9 and trying to get a custom token but it returns empty JSON {}
this is what I'm using:
$auth = $factory->createAuth();
$signInResult = $auth->getUserByPhoneNumber('+123456789');
$customToken = $auth->createCustomToken($signInResult->uid);
Thanks.
XFAISAL commented
Same Issue here