mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-27 09:42:16 +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 <[email protected]> Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Max Peintner
Livio Spring
parent
699fc86d1b
commit
d8b823660b
+1
-1
@@ -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>
|
||||
|
||||
@@ -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