Skip to content

Conversation

@tjementum
Copy link
Member

@tjementum tjementum commented Dec 16, 2025

Summary & Motivation

Upgrade the Azure Container Apps API version from 2025-07-01 (stable) to 2025-10-02-preview to restore the autoConfigureDataProtection runtime setting for .NET containers.

When upgrading to the stable 2025-07-01 API version in PR #793, the autoConfigureDataProtection feature was inadvertently lost because it remains a preview-only feature not included in stable releases. This change reverts to a preview API version that supports this feature, which enables automatic configuration of ASP.NET Data Protection keys across all container apps in an environment - essential for antiforgery token validation when multiple container apps (AppGateway, account-management, back-office, etc.) need to share encrypted tokens.

The learning here is that stable API versions may not include all preview features that the infrastructure depends on. When upgrading API versions, verify that preview features are still available or consciously choose to remain on a preview version until the required features become stable.

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum self-assigned this Dec 16, 2025
@tjementum tjementum requested a review from a team as a code owner December 16, 2025 10:18
@tjementum tjementum added Bug Something isn't working Deploy to Staging Set this label on pull requests to deploy code or infrastructure to the Staging environment labels Dec 16, 2025
@linear
Copy link

linear bot commented Dec 16, 2025

@tjementum tjementum removed the Deploy to Staging Set this label on pull requests to deploy code or infrastructure to the Staging environment label Dec 16, 2025
…duce autoConfigureDataProtection

Co-authored-by: Thomas Jespersen <tje@platformplatform.net>
@tjementum tjementum force-pushed the pp-670-antiforgery-token-error-in-azure-container-apps branch from 6c3fc2e to 6cc115f Compare December 16, 2025 10:30
@tjementum tjementum enabled auto-merge December 16, 2025 10:33
@tjementum tjementum merged commit 092ab22 into main Dec 16, 2025
6 checks passed
@tjementum tjementum deleted the pp-670-antiforgery-token-error-in-azure-container-apps branch December 16, 2025 10:33
@github-project-automation github-project-automation bot moved this to ✅ Done in Kanban board Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants