Top "Laravel-passport" questions

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

Get user data using access token in laravel passport client app

I have successfully created server.app and client.app using Laravel Passport documentation. Everything works as expected. client.app Route: …

php json laravel access-token laravel-passport
Passport laravel createToken Personal access client not found

After setup of passport, I have configured and created a controller to manage Register-Login- and - access to a resource …

laravel laravel-passport
How to logout a user from API using laravel Passport

I'm currently using 2 projects. 1 front end (with laravel backend to communicate with API) and another laravel project (the API). Now …

laravel laravel-passport
Laravel Passport token lifetime

I don't get what I'm doing wrong. I can't set token expiration time. <?php namespace App\Providers; class AuthServiceProvider …

php laravel oauth-2.0 laravel-5.4 laravel-passport
oauth-private.key does not exist or is not readable

So, I imported another project from Bitbucket and tried to launch it using php artisan serve, I always get this …

php laravel laravel-5 oauth-2.0 laravel-passport
Laravel Passport Install Class Not Found

I'm trying to configure my Laravel app to use Passport and have gotten stuck at loading the class in my …

php laravel-5 laravel-passport
Laravel Passport Scopes

I am a bit confused on the laravel scopes part. I have a user model and table. How can I …

laravel oauth-2.0 laravel-5.3 laravel-passport scopes
Laravel Passport Route [login] not defined

i use Laravel passport for auth in route api.php Route::get('/todos', function(){ return 'hello'; })->middleware(…

php laravel laravel-passport
Laravel Passport Route redirects to login page

I'm using Laravel 5.3 & Passport. When using Postman to test any route I have set in api.php file it …

php laravel-5.3 laravel-passport
Get authenticated user with Laravel Passport and grant password

I did an API REST with Laravel and now I'm trying to consume it. The thing is I need to …

php laravel-5 oauth-2.0 laravel-passport