You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to handle the authentication process with Laravel Socialite. How can we make this package compatibility with the Laravel Socialite package or is that not possible?
Also;
When I try to verify purchase code I am always getting a "400 Bad Request" message.
I am trying like so: $response = $client->user->sale(['code' => $purchase_code]);
The "code" parameter is not applied in to the url schema. Why?
The text was updated successfully, but these errors were encountered:
Ah, and with respect to Socialite compatibility, this is something I'll definitely look into for you shortly, but this would be it's own package. I'll let you know.
Intergrattion is easy.
In socailite return function make sure you save the whole user $socialUserObject = Socialite::driver( 'Envato' )->user();
// you need to update the expires before $socialUserObject->expiresIn += time()-60;
save $socialUserObject above is database as json or array so you use it anytime.
// when you need to use the APi apply this $socialUserObject like this.
Hoi Bailey,
I want to handle the authentication process with Laravel Socialite. How can we make this package compatibility with the Laravel Socialite package or is that not possible?
Also;
When I try to verify purchase code I am always getting a "400 Bad Request" message.
I am trying like so:
$response = $client->user->sale(['code' => $purchase_code]);
The "code" parameter is not applied in to the url schema. Why?
The text was updated successfully, but these errors were encountered: