Top "Laravel-passport" questions

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

Getting user data with Laravel Sanctum

I was using Laravel's built-in api token authentication before but I wanted to provide multiple api tokens for different clients …

php laravel laravel-passport laravel-sanctum
How to get current user in Laravel API using Passport?

I am using passport package for Laravel API Authentication. When I post data I get error: 401 Unauthorized","error":{"error":"Unauthenticated."}. …

php laravel laravel-5.5 laravel-passport
Laravel Passport use Different Model

I want to add a custom guard to Laravel that uses Passport but with different model (not User), but when …

php laravel api laravel-passport
Why should Client Creadentials be associated with a user in Laravel Passport?

I want to use Client Credentials to authenticate client applications to access the API. My problem is with creating client …

php laravel laravel-5 oauth-2.0 laravel-passport
composer require laravel/passport not working in laravel 5.8

I'm using Laravel 5.8 although 6.0.3 is available. I'm using it because the tutorial I'm following is using Laravel 5.8. When, I command: …

laravel laravel-5.8 laravel-passport
Laravel 5.3 : Passport Implementation - {"error":"invalid_client","message":"Client authentication failed"}

I followed the exact steps mentioned in the Laracast : What's New in Laravel 5.3: Laravel Passport to implement api authentication using …

php oauth-2.0 laravel-5.3 laravel-passport
composer unable to install laravel/passport

I have created a new project with laravel new blogposts using "Laravel Installer 2.0.1" globally installed on my ubuntu 18. When i …

php laravel composer-php laravel-passport
Multi Auth with Laravel 5.4 and Passport

I am trying to setup multi auth with Laravel Passport, but it doesn't seem to support it. I am using …

php laravel oauth-2.0 laravel-passport
Laravel Passport API: Retrieve Authenticated Token

Situation I'm using Laravel Passport API to communicate between Laravel and external "agents" via Personal Access Tokens: https://laravel.com/…

php laravel api token laravel-passport
Passport - "Unauthenticated." - Laravel 5.3

I hope someone could explain why I'm unauthenticated when already has performed a successfull Oauth 2 authentication process. I've set up …

authentication laravel-5.3 laravel-passport