question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`swa login -cc` is not working

See original GitHub issue

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 ?

  • No, I am using a different port number (--port) and accessing the CLI from that port
  • Yes, I am accessing the CLI from port :4280

Make sure you are accessing the URL printed in the console when running swa start!

ℹ️ 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 use swa login --clear-credentials to login again. But when I use swa login -cc command, it’s not working.

image

To Reproduce Steps to reproduce the behavior:

  1. swa login
  2. 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.

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 10.0.19043.2130

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rupareddy5-21commented, Dec 5, 2022

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.

1reaction
doggy8088commented, Oct 18, 2022

I think you might able to implement swa logout for this. Sometimes I just want to logout to clear Azure credential cache.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Southwest Account Manage | Credit Card | Chase.com
Manage your account online. Enjoy quick, secure access to your Southwest Airlines® Card account from wherever you are. Sign in to access your...
Read more >
Need Help Logging In? - Southwest Airlines
With this information, we'll e-mail you instructions to change your password. All information is mandatory. All information must exactly match what is in ......
Read more >
Login - Southwest Tennessee Community College
Run a system check before you login. TN eCampus students login at https://gotoclass.tnecampus.org. View Southwest Calendars and News. Unscheduled PAWS downtime ...
Read more >
Best Southwest Airlines Credit Cards - NerdWallet
The Southwest Rapid Rewards® Premier Credit Card earns 1,500 “tier qualifying points” (TQPs) for each $10,000 in purchases, up to $100,000 ...
Read more >
Southwest Credit Cards: Everything You Need To Know
Pros and cons · No annual EarlyBird Check-In®s unlike the Southwest Rapid Rewards® Plus Credit Card and the Southwest Rapid Rewards® Premier ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found