diff --git a/console/src/app/pages/domains/domain-verification/domain-verification.component.html b/console/src/app/pages/domains/domain-verification/domain-verification.component.html index 8790d7201e..364bcb659f 100644 --- a/console/src/app/pages/domains/domain-verification/domain-verification.component.html +++ b/console/src/app/pages/domains/domain-verification/domain-verification.component.html @@ -44,7 +44,7 @@

HTTP TOKEN

-

{{ http.url }}.txt

+

{{ http.url }}

diff --git a/internal/api/http/domain_check.go b/internal/api/http/domain_check.go index b4281c778e..3d39897991 100644 --- a/internal/api/http/domain_check.go +++ b/internal/api/http/domain_check.go @@ -15,7 +15,7 @@ const ( CheckTypeHTTP CheckType = iota CheckTypeDNS - HTTPPattern = "https://%s/.well-known/zitadel-challenge/%s" + HTTPPattern = "https://%s/.well-known/zitadel-challenge/%s.txt" DNSPattern = "_zitadel-challenge.%s" ) diff --git a/internal/command/org_domain_test.go b/internal/command/org_domain_test.go index 230fc5601a..feb737cde1 100644 --- a/internal/command/org_domain_test.go +++ b/internal/command/org_domain_test.go @@ -653,7 +653,7 @@ func TestCommandSide_GenerateOrgDomainValidation(t *testing.T) { }, res: res{ wantToken: "a", - wantURL: "https://domain.ch/.well-known/zitadel-challenge/a", + wantURL: "https://domain.ch/.well-known/zitadel-challenge/a.txt", }, }, }