Human users created with terraform cannot login with v2 login unless username is email
I don't know if I'm doing something very wrong or if there is a strange bug. I'm trying to set up human users using the terraform provider (latest version of both tf provider and zitadel installed using the helm chart with traefik ingress).
If I set the username to anything other than the email address, the login fails for both email and username in v2 login with "User not found." v1 login works fine, so it seems the issue is v2 login and not zitadel itself or the tf provider.
Anyone else encountered this? Is this a known limitation that I just missed, or is this a real bug?
Here's a little snippet of my tf in case anything jumps out:
If I set the username to anything other than the email address, the login fails for both email and username in v2 login with "User not found." v1 login works fine, so it seems the issue is v2 login and not zitadel itself or the tf provider.
Anyone else encountered this? Is this a known limitation that I just missed, or is this a real bug?
Here's a little snippet of my tf in case anything jumps out:
