Search In This Blog

2020-12-23

VSCode: localhost 1717 no redirect when authorize an Org

Authorize an Org from VSCode.


Issue:

Callback URL localhost:1717 is not redirect.


reason:

proxy setting


Update the PATH Environment Variable (Microsoft Windows)

  1. From the desktop, right click the Computer icon.
  2. Choose Properties from the context menu.
  3. Click the Advanced system settings link.
  4. Click Environment Variables.
  5. Add HTTP_PROXY and HTTPS_PROXY variables

Set up proxy with username and password
HTTP_PROXY: http://USERNAME:PASSWORD@SERVER:PORT/
HTTPS_PROXY: https://USERNAME:PASSWORD@SERVER:PORT/

Set up proxy with domain, username and password
HTTP_PROXY: http://DOMAIN\\USERNAME:PASSWORD@SERVER:PORT/
HTTPS_PROXY: https://DOMAIN\\USERNAME:PASSWORD@SERVER:PORT/

2 comments:

  1. What value we have to add inside proxy?

    ReplyDelete
    Replies
    1. HTTP_PROXY: http://USERNAME:PASSWORD@SERVER:PORT/
      HTTPS_PROXY: https://USERNAME:PASSWORD@SERVER:PORT/
      If you don't know the proxy info, ask your IT support or network provider who knows.

      Delete