hello, As I understand we can have multiple iden...
# ory-network
i
hello, As I understand we can have multiple identities schema, but how do I refer the identity schema as part of registration and login flow? What is the schema Id?
s
currently you can only use the default one, the other ones are for not breaking identities when you change stuff
i
The how do i implement usecases where i need one schema per user type . Ex: student, partner, invester etc
Thanks !
r
maybe you don't need a schema per user, maybe you need RBAC/authz
the other is what someone shared with you in the other thread, i mean, you could create the account and then update it through a webhook?
i
I think as u mentioned , it can be solved using authZ...
Our login form has check box for agreeing terms and reffered by which is a list. Also same login form is used by different user type where these form fields can be little different. Assuming the usertype is known for the login form through how login is initiated, I was thinking is there any way to set this value?
Ti simplify, if i want ti update the metadat as part of the registration how do I set . Asuuming the context of metadata is known by the registration form
r
should prefix this with "I haven't done it yet" as I thought similar at first to where you are, but then simplified on one schema for everyone. i was just trying out the new sdk and it looks like you could pass through information... there is a
transient_payload
property in updateRegistrationFlow (probably called a little different when you are not using JavaScript), which you could use in the hooks (as far as I can tell).
i
Thanks till for the suggestions...I will take a look at this