I answer to myself. Using Laravel Socialite
Nov 2, 2018
2
Level 13
Is possible use Passport for connect Laravel to other service API based?
It is possible that my title is badly translated. Sorry.
The question is that I need to connect to a service that has an API without a model known as "resource owner password credentials" grant type.
That is, the api forces me to connect via the web, authenticate myself, and if all goes well, I give back the toke and the refresh token.
At first I'm going to work it, using Guzzle, but maybe I'm thinking it wrong, and I can simply use Passport.
What gives me more fear is to build the web interface to connect, because mine is more the preparation of the app, in console mode.
Any idea, link?
Please or to participate in this conversation.