dusterio / lumen-passport

Making Laravel Passport work with Lumen
MIT License
655 stars 139 forks source link

How to refresh tokens? #112

Closed mhernandezsuk closed 2 years ago

mhernandezsuk commented 5 years ago

Hi.

I am testing passport in lumen 5.8 and I am having trouble with token refreshment.

In the documentation there is /oauth token/refresh but this route is protected with auth, how do I access this? since lumen does not handle sessions.

On the other hand, try sending: grant_type = refresh_token but the application gives me an error.

"hint": "Check therefresh_tokenparameter" I would be needing help with this.

Thank you

Exotelis commented 4 years ago

I'm facing the same issue

khakimjanovich commented 3 years ago

Still this is a open discussion

SAKSHISONI commented 2 years ago

Any luck on this issue because I am also stuck here. Not able to generate refresh token.