Skip to content

Mysocketio login#

Description#

The login sub-command under the tools mysocketio command performs a login to mysocketio service and saves the acquired authentication token1.

The token is saved as $PWD/.mysocketio_token file.

Usage#

containerlab tools mysocketio login [local-flags]

Flags#

disable-browser#

The --disable-browser | -b prevents the command from attempting to open the browser in order to complete authentication with Border0. If the flag is set, the command will simply print the URL which you must navigate to, whether in the same device or a different device, in order to complete authentication.

Examples#

containerlab tools mysocketio login

Please navigate to the URL below in order to complete the login process:
https://portal.border0.com/login?device_identifier=IjM1OTJkZGVmLTgzNTMtNDU4Yy04NjNkLTk1OTdhYjY0ZjFiOSI.ZW6BRw.Z9XlL0CtL7HkKTDX7GSp28d9mG0

Login successful

INFO[0000] Written mysocketio token to a file /root/containerlab/.mysocketio_token

  1. Authentication token is used to publish ports of a containerlab nodes.