A user is reporting that they cannot change their ...
# ory-network
a
A user is reporting that they cannot change their username. found nothing odd except that their username is among the “Credential Identifiers” in the Ory UI. We use the “UserSettingCard”
Copy code
<UserSettingsCard
              flow={flow}
              flowType="profile"
              includeScripts={true}
              onSubmit={({ body }) => onSubmit(body)}
            />
It works fine if the username is not under “Credential Identifiers”
s
what do you mean by "username under credential identifiers"? that it is already taken by another user?
a
No, that it's under credential identifiers
In the UI
s
the identity schema determines whether a trait (like username) is a credential identifier so it is in that category if you configured it to be
what error does the user get specifically?
ideally we'd need a flow id to look up all details
did you try to reproduce the issue?