Skip to content

Commit 959a6ad

Browse files
Fix hCaptcha hostname mismatch on dev deployment
HCaptcha__ExpectedHostname was set to staging.essentialcsharp.com but both dev and prod share the same sitekey registered for essentialcsharp.com. hCaptcha's siteverify always returns hostname: essentialcsharp.com for this key, causing CaptchaService to reject every valid token on dev with 'Captcha verification failed. Please try again.' Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 66900fd commit 959a6ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/Build-Test-And-Deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
AIOptions__Endpoint=secretref:ai-endpoint AIOptions__VectorGenerationDeploymentName=secretref:ai-vectordeployment AIOptions__ChatDeploymentName=secretref:ai-chatdeployment \
173173
AIOptions__SystemPrompt=secretref:ai-systemprompt ConnectionStrings__PostgresVectorStore=secretref:postgres-vectorstore-connectionstring \
174174
TryDotNet__Origin=$TRYDOTNET_ORIGIN DataProtection__AzureKeyVaultKeyUri=$KEYVAULTURI/keys/dataprotection \
175-
HCaptcha__ExpectedHostname=staging.essentialcsharp.com
175+
HCaptcha__ExpectedHostname=essentialcsharp.com
176176
- name: Logout of Azure CLI
177177
if: always()
178178
uses: azure/CLI@v3

0 commit comments

Comments
 (0)