Hi! I want to develop a NestJS Uber-like API using...
# talk-kratos
a
Hi! I want to develop a NestJS Uber-like API using selfhosted
Keto
and
Kratos
servers with the basic roles/schemas: -
Admin
- must be created by the administrators with
ManageAdmin
permission. Admins use browser. -
Driver
- registers in Driver mobile app, then must be verified by Admin. -
Client
- registers in Client mobile app. And I have several questions: - As I understand it's impossible to split self-service flow based on predefined role/schema. What should I do in this case? How to provide such splitting? - Is it ok to wrap all the self-service calls into controllers of my app? My API will work as a proxy for all
Keto
and
Kratos
requests so I want to modify some of them and create associated permissions during `Driver`/`Client` registration. Or it is not an ory-way and I should use
Oathkeeper
-
Kratos
-
Keto
stack?