Hello, I was reading the documentation about Permi...
# talk-keto
r
Hello, I was reading the documentation about Permission check and Permission model, and I wonder can an Ory OAuth2 Client be an User in this example? https://www.ory.sh/docs/keto/modeling/create-permission-model Let's say I have a 3rd party using my API and they authenticate through Ory OAuth2 Client. As long as they (or any other 3rd party) authenticate through that client, they will have specific permissions, or maybe I can check the permissions using REST API using the client_id?
c
Yeah, the "user" (ie the subject) in keto is simply a string, so any string that is unique for each client, and also persistent throughout all sessions can be used as the subject for permission checks. The client_id sounds ideal to my ears 🙂