Bit: Bit login url is incomplete

Created on 5 Apr 2020  路  2Comments  路  Source: teambit/bit

Describe the bug

When running bit login the url displayed on the terminal is ok but the url sent to the browser is incomplete, which result in a blank screen.

Steps to Reproduce

bit login

Expected Behavior

The complete url should be sent to the browser

Screenshots, exceptions and logs

> bit login
Your browser has been opened to visit:
https://bit.dev/bit-login?port=8085&clientId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&responseType=token&deviceName=DEVICE_NAME&os=linux

The url sent to the browser : https://bit.dev/bit-login?port=8085
Everything after the "&" is removed

The page is blank with a console error :
uncaught exception: Object

Specifications

  • Bit version: 14.7.6
  • Node version: 13.12.0
  • yarn version: 1.9.4
  • Platform: Windows 10 using WSL (Ubuntu 18.04)
  • Browser: Firefox 74.0.1
typbug

Most helpful comment

I sent a PR. The problem was not coming from my browser, it was coming from WSL.
I tested it using WSL ( v1 )

All 2 comments

This is odd. We'll probably need to set up a similar setup to yours to see this behavior.
Is there any chance you have a FF extension that tries to clear URL params?

I sent a PR. The problem was not coming from my browser, it was coming from WSL.
I tested it using WSL ( v1 )

Was this page helpful?
0 / 5 - 0 ratings

Related issues

williamluke4 picture williamluke4  路  4Comments

Nuruddinjr picture Nuruddinjr  路  3Comments

lubomir-chatoryiskyi picture lubomir-chatoryiskyi  路  3Comments

amadeogallardo picture amadeogallardo  路  4Comments

itaymendel picture itaymendel  路  4Comments