Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaulting SwtAuthenticationEnabled to False #10197

Merged
merged 1 commit into from
May 30, 2024
Merged

Defaulting SwtAuthenticationEnabled to False #10197

merged 1 commit into from
May 30, 2024

Conversation

mathewc
Copy link
Member

@mathewc mathewc commented May 30, 2024

Backport of #10192

@@ -55,7 +56,11 @@ public async override Task OnAuthorizationAsync(HttpActionContext actionContext,
// If the request has not yet been authenticated, authenticate it
if (requestAuthorizationLevel == AuthorizationLevel.Anonymous)
{
string armToken = GetArmTokenHeader(actionContext);
string armToken = null;
if (FeatureFlags.IsEnabled(ScriptConstants.FeatureFlagSwtAuthenticationEnabled))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that v1 doesn't support hosting configuration like v4/v3. We only have per-application feature flags.

@mathewc mathewc merged commit f7930b0 into v1.x May 30, 2024
2 checks passed
@mathewc mathewc deleted the swt-default-v1 branch May 30, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants