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 <[email protected]>
Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Stefan Benz
2023-07-07 11:50:45 +00:00
committed by GitHub
co-authored by Max Peintner Livio Spring
parent 699fc86d1b
commit d8b823660b
3 changed files with 3 additions and 3 deletions
@@ -44,7 +44,7 @@
<div *ngIf="http">
<p>HTTP TOKEN</p>
<p class="entry">{{ http.url }}.txt</p>
<p class="entry">{{ http.url }}</p>
<div class="btn-container">
<button mat-stroked-button (click)="saveFile()" color="primary">{{ 'ORG.PAGES.DOWNLOAD_FILE' | translate }}</button>
+1 -1
View File
@@ -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"
)
+1 -1
View File
@@ -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",
},
},
}