Top "Laravel-passport" questions

Laravel Passport is a native OAuth 2 server for Laravel apps.

Laravel Passport - Grant Type Not Supported

I have installed Laravel Passport per the documentation and I have modified all areas of my code that is required. …

laravel-5.3 laravel-passport
Always got "message": "Unauthenticated." - Laravel Passport

I had find many tutorial this whole day. And my setup is exactly the same as all the basic tutorial …

php laravel laravel-passport
Laravel 5.6 - How to get auth()->user() or $response->user() in api controller?

In api.php routes file below, there are public routes and private routes: Route::group(['namespace' => 'API'], function() { // Public …

laravel laravel-5 laravel-5.5 laravel-5.6 laravel-passport
How to test authentication via API with Laravel Passport?

I'm trying to test the authentication with Laravel's Passport and there's no way... always received a 401 of that client is …

laravel testing laravel-5 phpunit laravel-passport
Laravel Passport vs JWT vs Oauth2 vs Auth0

Confusion about API auth types in Laravel? I'm currently learning how to create an API in Laravel and I found …

laravel oauth-2.0 jwt auth0 laravel-passport
How to invalidate all tokens for an user in laravel passport?

In our app when user logs out we invalidate the access token for that particular device this way. $user = $request-&…

php laravel laravel-passport
Laravel Passport Get Client ID By Access Token

I'm writing a tiny sms gateway to be consumed by a couple of projects, I implemented laravel passport authentication (client …

php laravel laravel-5 laravel-passport
How to use Laravel Passport with a custom username column

Now I'm using something like that for authenticating the user on my base site: if (Auth::attempt($request->only([…

php laravel oauth-2.0 laravel-passport
Call to undefined method Symfony\Component\HttpFoundation\Response::header()

Hi i was using a cors middleware which seems to work fine until i added Laravel Passport now there is …

php laravel laravel-5 laravel-passport
Laravel 6: Call to undefined method App\\User::createToken()

I'm trying to generate a token to authenticate users in my Controller the following way: namespace App\Http\Controllers\API; …

php laravel eloquent laravel-passport laravel-authentication