From 68b182bd5ef00e335e6edfcd8eb8d49549f9a99a Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Thu, 2 Jun 2022 13:13:01 -0400 Subject: [PATCH 1/2] Updated enum. --- src/containerapp/azext_containerapp/_constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containerapp/azext_containerapp/_constants.py b/src/containerapp/azext_containerapp/_constants.py index 1ba84998feb..0b14b16d8f4 100644 --- a/src/containerapp/azext_containerapp/_constants.py +++ b/src/containerapp/azext_containerapp/_constants.py @@ -21,6 +21,6 @@ MSA_SECRET_SETTING_NAME = "msa-provider-authentication-secret" TWITTER_SECRET_SETTING_NAME = "twitter-provider-authentication-secret" APPLE_SECRET_SETTING_NAME = "apple-provider-authentication-secret" -UNAUTHENTICATED_CLIENT_ACTION = ['RedirectToLoginPage', 'AllowAnonymous', 'RejectWith401', 'RejectWith404'] +UNAUTHENTICATED_CLIENT_ACTION = ['RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403'] FORWARD_PROXY_CONVENTION = ['NoProxy', 'Standard', 'Custom'] CHECK_CERTIFICATE_NAME_AVAILABILITY_TYPE = "Microsoft.App/managedEnvironments/certificates" From e1046aabe0450d3d87b1997807bc0e8522ac51f0 Mon Sep 17 00:00:00 2001 From: Haroon Feisal Date: Thu, 2 Jun 2022 14:32:37 -0400 Subject: [PATCH 2/2] Updated history. --- src/containerapp/HISTORY.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index 99aba7e9a08..0cc57231005 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -8,6 +8,7 @@ Release History * Added parameter --environment to 'az containerapp list' * Added 'az containerapp revision label swap' to swap traffic labels * BREAKING CHANGE: 'az containerapp revision list' now shows only active revisions by default, added flag --all to show all revisions +* Fixed bug with 'az containerapp auth update' when using --unauthenticated-client-action 0.3.5