-
Notifications
You must be signed in to change notification settings - Fork 116
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
swa login -cc
is not working
#589
Comments
I think you might able to implement |
Here is the way to clear all credentials created by swa-cli: PowerShell cmdkey.exe /list | findstr swa-cli | ForEach-Object {
cmdkey /delete:$($_.Split(' ')[5])
} |
Hi @doggy8088, thanks for pointing this out, we have found the root cause and created a PR for the fix. The flag -cc is not working because -c is a global option for swa-cli.config.json path and that is taking priority when -cc flag is used. For fixing this, we have changed the short-form of flag from -cc to -CC. Sorry for the inconvenience caused. |
@rupareddy5-21 Are you consider to have a |
Hi @doggy8088, this is a great suggestion. Currently the team is working towards supporting the clear credentials flag. Could you help us understand better on whether you would still be looking for a |
@Reshmi-Sriram I tried latest version today. ( I still think the |
Before filing this issue, please ensure you're using the latest CLI by running
swa --version
and comparing to the latest version on npm.Are you accessing the CLI from the default port
:4280
?--port
) and accessing the CLI from that port:4280
ℹ️ NOTE: Make sure to enable debug logs when running any
swa
commands using--verbose=silly
Describe the bug
A clear and concise description of what the bug is.
After I logined into Azure using
swa login
. I can useswa login --clear-credentials
to login again. But when I useswa login -cc
command, it's not working.To Reproduce
Steps to reproduce the behavior:
swa login
swa login -cc
Expected behavior
A clear and concise description of what you expected to happen.
I expected
swa login -cc
should open browser for sign-in process.Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Windows 10
10.0.19043.2130
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: