static-web-apps-cli
static-web-apps-cli copied to clipboard
[Bug] Login with --clientId/--clientSecret not working
Describe the bug Trying to deploy an app in CI using a service principal and --clientId/--clientSecret option does not work and fall back to interactive browser login.
To Reproduce See this repo and in particular this command: https://github.com/sinedied/ng-lite-todo/blob/4f113a6ac10a1d86c6ee3f19fb7bcbdcea8f4e47/.azure/deploy.sh#L30-L40
Expected behavior Login and deployment works as intended.
Additional context
Issue is tracked upstream as the bug comes from @azure/identity SDK: https://github.com/Azure/azure-sdk-for-js/issues/22751