My application require user with different role to access the application. Kratos documentation states that Kratos support identity roles with traits feature, which mean identities can have different traits. (public, staff, admin, etc)
Current Admin API support creating identity with different traits by using “traits_schema_id” parameter on identity creation endpoint.
Since currently impossible to create identity with credential using Admin API, the only way to create identity with credential is through browser flow registration, but it seems browser flows registration endpoint didn’t allow us to choose “traits_schema_id”, it always use theidentity.traits.default_schema_url
Is there any solution to create identity with different traits (role) using browser flows?