mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 16:47:32 +00:00
fix: add .txt ending to domain validation as given in console (#6079)
* fix: add .txt ending to domain validation as given in console * fix console --------- Co-authored-by: Max Peintner <max@caos.ch> Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
|
@@ -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",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user