sfelix-martins / passport-multiauth

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

Passport route /oauth/personal-access-token not limited to model #125

Open flow-ree opened 4 years ago

flow-ree commented 4 years ago

Hey, thank you for this package.

i want to create personal-access-token api for Users and Admins. i can create admin and user token, but when i'm logged in as User with ID=1 and get /oauth/personal-access-token i also get the tokens of Admin with ID=1. How can i avoid this?