Hi
I want to create mobile authentication with SMS authorization code.
so i need to create token for each user without use Passport APIs.
thus I create personal client according to the following:
php artisan passport:client --personal
> Customer
and try to create token with "createToken"
$user = User::find(1);
$token = $user->createToken('Customer');
return $token->toArray();
it was created but i don't have any expire token to refresh token when it will be expired.
Hi there,
Looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs or problems. If you have a question on how to use functionality provided by this repo you can try one of the following channels:
Hi
I want to create mobile authentication with SMS authorization code.
so i need to create token for each user without use Passport APIs.
thus I create personal client according to the following:
php artisan passport:client --personal
> Customerand try to create token with "createToken"
$user = User::find(1);
$token = $user->createToken('Customer');
return $token->toArray();it was created but i don't have any expire token to refresh token when it will be expired.
Hi! Have you found how to do this (get refresh token)?
Hi. I used this article to implement refresh token functionality.
http://esbenp.github.io/2017/03/19/modern-rest-api-laravel-part-4/
чт, 14 лист. 2019 о 11:53 Alagie Sellu notifications@github.com пише:
Any solution?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/laravel/passport/issues/763?email_source=notifications&email_token=ACRABBPV4YMJALI35W6HNGDQTUNZFA5CNFSM4FJ7I3MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEBIAUA#issuecomment-553812048,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRABBK3P7KBMZSGZ6TNYWLQTUNZFANCNFSM4FJ7I3MA
.
Hi. I used this article to implement refresh token functionality. http://esbenp.github.io/2017/03/19/modern-rest-api-laravel-part-4/ чт, 14 лист. 2019 о 11:53 Alagie Sellu notifications@github.com пише:
…
Any solution? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#763?email_source=notifications&email_token=ACRABBPV4YMJALI35W6HNGDQTUNZFA5CNFSM4FJ7I3MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEBIAUA#issuecomment-553812048>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRABBK3P7KBMZSGZ6TNYWLQTUNZFANCNFSM4FJ7I3MA .
I want to Create Access and Refresh Token Without Password
Hi. I used this article to implement refresh token functionality. http://esbenp.github.io/2017/03/19/modern-rest-api-laravel-part-4/ чт, 14 лист. 2019 о 11:53 Alagie Sellu [email protected] пише:
…
Any solution? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#763?email_source=notifications&email_token=ACRABBPV4YMJALI35W6HNGDQTUNZFA5CNFSM4FJ7I3MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEBIAUA#issuecomment-553812048>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRABBK3P7KBMZSGZ6TNYWLQTUNZFANCNFSM4FJ7I3MA .I want to Create Access and Refresh Token Without Password
I used this article to create new Grant: https://medium.com/@arifulislam_ron/create-custom-grant-token-in-laravel-passport-1ff0cc255dc5
In my case I have created SocialGrant, which doesn't require password
Hi. I used this article to implement refresh token functionality. http://esbenp.github.io/2017/03/19/modern-rest-api-laravel-part-4/ чт, 14 лист. 2019 о 11:53 Alagie Sellu [email protected] пише:
…
Any solution? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#763?email_source=notifications&email_token=ACRABBPV4YMJALI35W6HNGDQTUNZFA5CNFSM4FJ7I3MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEBIAUA#issuecomment-553812048>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRABBK3P7KBMZSGZ6TNYWLQTUNZFANCNFSM4FJ7I3MA .I want to Create Access and Refresh Token Without Password
I used this article to create new Grant: https://medium.com/@arifulislam_ron/create-custom-grant-token-in-laravel-passport-1ff0cc255dc5
In my case I have created SocialGrant, which doesn't require password
Thx very much!
I found this : https://github.com/kslimani/laravel-passport-grant
perfect for me
Yes, looks good!
чт, 11 черв. 2020 о 03:49 anyforever notifications@github.com пише:
Hi. I used this article to implement refresh token functionality.
http://esbenp.github.io/2017/03/19/modern-rest-api-laravel-part-4/ чт, 14
лист. 2019 о 11:53 Alagie Sellu [email protected] пише:
… <#m_-7188822808159011548_>
Any solution? — You are receiving this because you commented. Reply to
this email directly, view it on GitHub <#763
https://github.com/laravel/passport/issues/763?email_source=notifications&email_token=ACRABBPV4YMJALI35W6HNGDQTUNZFA5CNFSM4FJ7I3MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEBIAUA#issuecomment-553812048>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRABBK3P7KBMZSGZ6TNYWLQTUNZFANCNFSM4FJ7I3MA
.I want to Create Access and Refresh Token Without Password
I used this article to create new Grant:
https://medium.com/@arifulislam_ron/create-custom-grant-token-in-laravel-passport-1ff0cc255dc5
In my case I have created SocialGrant, which doesn't require passwordThx very much!
I found this : https://github.com/kslimani/laravel-passport-grant
perfect for me—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/laravel/passport/issues/763#issuecomment-642340873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRABBPVMHQGXQ7Z4JSDJTLRWAS2FANCNFSM4FJ7I3MA
.
Most helpful comment
Hi! Have you found how to do this (get refresh token)?