Laravel passport user_id and client credentials. #50699
Unanswered
classicalguss
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is something I just don't quite get with Client Credentials. First of all, why doesn't Laravel Passport allow associating a user_id to the client credentials? I've seen a lot in the discussions that client credentials are not supposed to be associated with a user. But then again how are the other grants associated with a user? More specifically how is the Authorization code grant associated with a user? As far as I know, you should have a client that supports authorization grant for ANY user on their system.
In fact, the only use case for user_id that makes sense to me is actually attaching it to a client_credentials. That way, you can have attach special permissions to each client while disallowing it to other clients or users.
Beta Was this translation helpful? Give feedback.
All reactions