0

I`m developing mobile app and I have auth by Google in this app. When user login by Google I want to make response which include access token and refresh token from Laravel Passport.

I don`t have problem with access token. I created it by Laravel Passport.

$token = $user->createToken('Token Name')->accessToken;

I want create refresh token also, but I have a problem. When I create refresh token by Laravel Passport one of all required param this is $password, however Google don`t give me this param in his response.

How I can create refresh token?

James Z
  • 12,209
  • 10
  • 24
  • 44
  • Does this answer your question? [How do I get a refresh token in Laravel Passport?](https://stackoverflow.com/questions/59330402/how-do-i-get-a-refresh-token-in-laravel-passport) – ADyson Jun 28 '23 at 08:28

0 Answers0