Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to generate token using socialite login #140

Open
sadeqsafaeian opened this issue Jan 11, 2021 · 0 comments
Open

unable to generate token using socialite login #140

sadeqsafaeian opened this issue Jan 11, 2021 · 0 comments

Comments

@sadeqsafaeian
Copy link

sadeqsafaeian commented Jan 11, 2021

to login from socialite
Argument 1 passed to Tymon\JWTAuth\JWTGuard::login() must implement interface Tymon\JWTAuth\Contracts\JWTSubject, null given, called in C:\wamp64\www\.....Controllers\Auth\OAuthController.php on line 48

      $this->guard()->setToken(
            $token = $this->guard()->login($user)
        );

what's the solution؟

@sadeqsafaeian sadeqsafaeian changed the title unable to generate token using tymon jwt in OAuthController.php unable to generate token using socialite login Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant