Questions tagged [laravel-socialite]

Socialite is a package that provides a simple, convenient way to authenticate with OAuth providers within the Laravel framework.

For Laravel 5.6 this link will help to integrate third party platforms like facebook, twitter, linkedin, google, github or bitbucket

To integrate other platforms like Instagram, LinkedIn , Medium , this link is very beneficial.

606 questions
0
votes
0 answers

Redirect issue using popup authentication

The issue I encounter is that when I try click the login via Facebook button, a popup is shown, it authenticates, a 302 request is sent to my server and then the request sent throws an error: Failed to load…
Chris
  • 3,311
  • 4
  • 20
  • 34
0
votes
2 answers

How to get user data from google using socialite google driver

I m trying to work with laravel google socialite driver where i need to get user data from google using access token that i am getting from my api call. But when i thought i have done everything correctly it's giving an error saying Call to…
user7747472
  • 1,874
  • 6
  • 36
  • 80
0
votes
0 answers

Laravel Socialite Facebook Wrong redirects, giving parameter app_id is required

I am using Laravel 5.2 in which I have configured Socialite 2.* for using facebook login. It was working few days ago, but suddenly it has start giving "The Parameter app_id is required". I have placed my credentials in config.services.php file as…
0
votes
0 answers

Authenticate User via Laravel/Socialite using Passport

What I try to do: I have a Laravel Application which is the API for my App and an SPA where I use this API. The Authentification for the API is over Laravel/Passport, for my App I consume my own API how it is provided by Laravel. Users are there…
Jakob Graf
  • 376
  • 1
  • 3
  • 14
0
votes
1 answer

Laravel Passport: get the authenticated user via api in web routes

I have successfully authenticated users in my front-end via passport api. But now i want to implement the Laravel socialite to connect/link their account to my app. So i want to get the authenticated user in routes/web.php because i put my…
Hitori
  • 569
  • 1
  • 5
  • 21
0
votes
0 answers

Laravel 5.5 Website Give HTTP ERROR 500 While After Registering SocialiteServiceProvider

I'm new to Laravel and I have a website which I developed in Laravel 5.5. I downloaded Socialite. Now the problem is, If i put the following line in "providers" array in config/app.php for registering…
Assad Ullah Ch
  • 706
  • 7
  • 12
0
votes
0 answers

Laravel Service Provider “Unresolvable dependency”

I am having an issue that seems to be fairly common across the interwebs, but I'm afraid I can't pinpoint the solution. Error BindingResolutionException in Container.php line 888: Unresolvable dependency resolving [Parameter #0 [ $app ]]…
Donnie
  • 6,229
  • 8
  • 35
  • 53
0
votes
1 answer

Laravel: Create middleware for Sociailite Auth

I'm using JavaScript to receive an access token to the user facebook account. When I get the token, I send a request to the server with the token to get information about the user using Socialite. $user =…
TheUnreal
  • 23,434
  • 46
  • 157
  • 277
0
votes
1 answer

laravel update record when it's not empty?

I have a code like this: public function createOrGetUser(Provider $provider) { $providerUser = $provider->user(); $providerName = class_basename($provider); $token = $providerUser->token; $account =…
Przemek Wojtas
  • 1,311
  • 5
  • 26
  • 51
0
votes
3 answers

Class 'Illuminate\Foundation\Auth Error Laravel 5.4

I have this error when a user tries to login in using their Facebook account: (1/1) FatalErrorException Class 'Illuminate\Foundation\Auth\Fbuser' not found Here is my code: namespace App; use App\Fbuser; use…
user23
  • 3
  • 6
0
votes
0 answers

Laravel Socialite - Facebook extend/replace token with a one with more permissions

I'm using Laravel 5.4 and Socialite to allow the visitor of my site to log in. Situation I recently obtained the user_events permission cause I wanted to add some functionalities to my website. Before this, some users got registered in my database…
Léo Coco
  • 4,022
  • 11
  • 52
  • 97
0
votes
2 answers

Laravel 5.4 and Socialite redirect to calling page after Twitter login

I'm putting together a site that has a Twitter login through Socialite in Laravel 5.4. Right now once the user is logged in, I redirect to the home page; however, I'd like to be able to redirect the user to whichever page he was on activating the…
Ely Bascoy
  • 11
  • 5
0
votes
1 answer

Problems Sharing my website made with laravel in Facebook

I have this page made in Laravel: papirolasvirtual.com.mx The problem is when I share my website link to facebook it doesn't show my website's logo: A magnifying glass appears. Does anyone know how that problem can be solved? Thanks.
0
votes
0 answers

Laravel5.4 - login with facebook in laravel

Have a nice day, I am facing issue when I try to do login with facebook. I did all steps in this tutorial http://laravelcode.com/post/laravel54-login-with-facebook-in-laravel and when I try to login using through facebook it gives me this…
allaghi
  • 165
  • 3
  • 12
0
votes
0 answers

force user to fill the form after obtaining the info using laravel and socialite

How to force the user to fill the form after login with google or facebook. I ma using laravel 5.4 with socials. In my app i want to allow google and facebook login but user can create a standard user too. When login with one of the social providers…
calin24
  • 905
  • 3
  • 21
  • 43