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.

auth:renew should respect set alternative AccountManager url

See original GitHub issue

Currently, auth:renew calls obtainToken with no AccountManager override. So when one was initially set, renew will try to re-authenticate with the standard AccountManager.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tobiaslohrcommented, Apr 3, 2020

I think respecting the alternative Account Manager host passed to sfcc-ci client:auth via -a flag, is not trivial. The setting is only visible to the current Node process running the command, this includes playing with process.env.SFCC_LOGIN_URL and setting the host. One option would be to persist the setting into the CLIs local configuration. That however, has the downside that it would be visible across shells and sessions.

I’d personally favor to deprecate the flag -a for command sfcc-ci client:auth and rely on env var SFCC_LOGIN_URL.

0reactions
tobiaslohrcommented, Apr 3, 2020

I’ve created #129 for the removal of flag -a,--authserver and closing this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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