We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HTTP Basic Authentication is provided by the lws-basic-auth module which is part of the built-in stack.
lws-basic-auth
Launch ws supplying --auth.user and --auth.pass values. For added security you could also add the --https option.
ws
--auth.user
--auth.pass
--https
$ ws --auth.user lloyd --auth.pass chimps
Navigate to the server - you will now be prompted to input a username and password.
To persist options across sessions, add them to the config.
module.exports = { authUser: 'lloyd', authPass: 'chimps' }