-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix for --unauthenticated-client-action V2 issue #5741
Conversation
…ith404, rejectwith403
webapp |
Rerecorded the live tests, CI is now passing. @zhoxing-ms, could you help with approving? |
@annzho Please add the description of PR into the |
@zhoxing-ms Have added the description of the new version in |
@zhoxing-ms, moved the version notes to top of history file, could you approve? |
[Release] Update index.json for extension [ authV2 ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=33281&view=results |
Previously, using
az webapp auth --unauthenticated-client-action
argument did not correctly update Unauthenticated Client Action configuration setting if the argument was set to RejectWith401, RejectWith404, or RejectWith403 due a naming mismatch between the CLI and the API surface.Previous issues raised for this: Azure/azure-cli#24086, Azure/azure-cli#21618
The fix was to rename some of the allowed values for --unauthenticated-client-action. Also added the Return403 value. Allowed Values: RedirectToLoginPage, AllowAnonymous, Return401, Return404, Return403
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az webapp auth update
command fix --unauthenticated-client-action argumentGeneral Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify
src/index.json
.