sfelix-martins / passport-multiauth

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

Authentication taking only first oauth_client #99

Open masoodkhan11 opened 5 years ago

masoodkhan11 commented 5 years ago

Authentication is working fine, but problem is oauth_access_token table is inserting every row with first client id of oauth_clients, not taking request parameters of grant_type, client_id and client_secret.

Not returning error if I do not send these parameters or send invalid client_secret and authenticate with first client of oauth_clients.

sfelix-martins commented 5 years ago

Hi @masoodkhan11

Can you help simulate this error?

Maybe a unit test case failing...

Thanks!