Skip to content

Best approach for Ory Kratos and Keto in a microservice architecture #69

Answered by vinckr
noctera asked this question in Q&A
Discussion options

You must be logged in to vote

hey @noctera

Your use case is quite complex and involves several components of the Ory stack. Let's try to break it down:

  1. Ory Kratos is an identity management server that can handle user login, registration, and verification flows. It provides a /sessions/whoami API that can be used to check if a request contains a session or not, which can be useful for your Flask microservices to authenticate requests [source].
  2. Ory Keto is an access control server that can be used to perform permission checks. You can call the check method of the OryPermissions client to check if a certain action is allowed for a user [source].
  3. As you mentioned, this approach might result in many requests if you query …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants