Hi everyone, can metadata be set as an identifier? I am trying to make the usersID unchangeable but keeping as an identifier.
m
magnificent-energy-493
09/16/2022, 8:20 AM
You want to prevent the end user to change his identifier and use some string you set as identifier, is that correct?
h
high-soccer-36695
09/16/2022, 7:13 PM
Yes exactly. After account creation I do not want the identifier to be changeable.
m
magnificent-energy-493
09/19/2022, 8:33 AM
Hm I am not sure if that is possible.
One idea: You could prevent the end user from changing it by not showing the option in the “settings” screen and blocking API calls to that endpoint 🤔
Are you self-hosting or using Ory Cloud?
h
high-soccer-36695
09/19/2022, 7:08 PM
I'm self hosting, but I'm using a fork of the kratos UI.
m
magnificent-energy-493
09/20/2022, 4:54 PM
Oh interesting, what did you change in your fork?
edit: oh fork of the UI nevermind 😅