Hi Ory Community, I would like to ask about self-s...
# talk-kratos
c
Hi Ory Community, I would like to ask about self-service registration and multiple identity schemas. Let’s say we have a tree different type of identities, each having different schemas: cat, dog, person. We want the end-users to be able to self-register using each of these identities, each identity having it’s own custom UI application for registration. I’ve read in the docs that:
Ory Kratos uses the Identity Schema defined in identity.default_schema_id to generate a list of form fields and add it to the Registration Flow.
Is it somehow possible to choose which identity to use when starting a self-service flow, instead of the one defined in
identity.default_schema_id
? If not, is having three Kratos instances with different
identity.default_schema_id
in their configuration, but all three connected to the same database, a viable option?
s
it is not possible right now, but the workaround you proposed should work
you can btw supply multiple config files and they will override each other, so you can have one for all, and one per instance that just sets the
default_schema_id