sfelix-martins / passport-multiauth

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

Issue with Accessing others data with token #79

Closed mdmusaib closed 5 years ago

mdmusaib commented 5 years ago

In my example project, I have three guard, users,partners,admins, but the thing is, If suppose i logged in a got a token of that particular user successfully, but the challenge with the same token I'm accessing other users? How to prevent this loop hole sir, I really need your help in this issue to fix asap

sfelix-martins commented 5 years ago

Please, check if it solve your problem https://github.com/sfelix-martins/passport-multiauth/issues/63#issuecomment-458506088

sfelix-martins commented 5 years ago

Duplicated https://github.com/sfelix-martins/passport-multiauth/issues/63#issuecomment-469140724