Hey @dan,
I guess I need something similar for user.data.username. I need to define a rule on this custom user data to be unique in my app or tenant. As of now I really do not care about tenant or app since I only have one tenant and one app in my FusionAuth.
So I've asked this Q&A and I need to enforce uniqueness for this data. But dunno how to do it. Any suggestion?