sfelix-martins / passport-multiauth

Add support to multi-authentication to Laravel Passport
MIT License
288 stars 51 forks source link

Login is not working with another guard #91

Open masoodkhan11 opened 5 years ago

masoodkhan11 commented 5 years ago

Hi, My login route in api.php uses default controller of laravel passport Route::post('/login', '\Laravel\Passport\Http\Controllers\AccessTokenController@issueToken');

Issue is you pass any provider in login request, lt inserts default provider users in provider column in oauth_access_token_provider table.

Please help me what is wrong ?

sfelix-martins commented 5 years ago

@masoodkhan11 You must use this package like described on docs usage section.