Closed robvanmieghem closed 4 years ago
is it supposed to have authentication? if it does, you're required to login with the username you initialized your 3bot with or to be an admin in the 3bot
@xmonader it does not need authentication for reaching the webserver. Can we disable this login page?
@xmonader it does not need authentication for reaching the webserver. Can we disable this login page?
If you don't need it you can do j.tools.threebot.threebotconnect_disable
and you will get into dev mode with no login :)
@xmonader so this screen wont be shown then?
@xmonader it does not need authentication for reaching the webserver. Can we disable this login page?
If you don't need it you can do
j.tools.threebot.threebotconnect_disable
and you will get into dev mode with no login :)
Where can I add this line? In package.py?
@DylanVerstraete Just do it on the machine and restart your 3bot server :)
@DylanVerstraete Just do it on the machine and restart your 3bot server :)
We don't wanna do that on that machine, it has other packages running aswel..
is it supposed to have authentication? if it does, you're required to login with the username you initialized your 3bot with or to be an admin in the 3bot
@xmonader Yes, I'd like to test this package with the login page in place
We already implemented a login for the user, no need for the gedis authentication.
@xmonader on localhost I get redirected to an https version but:
If you don't need the location to be authenticated with threebot_connect or the package to be accessible by everyone you can check
in package.py
location_obj.is_auth = False
or like admin package to be only accessible by admins: https://github.com/threefoldtech/jumpscaleX_threebot/blob/0b854da520ce8089cc47fc5b657c480bb790e280/ThreeBotPackages/zerobot/admin/package.py#L16
this part is defined in this file https://github.com/threefoldtech/jumpscaleX_core/blob/5814dbb09d654c8c66822e6a0bc8c3a0147278dd/JumpscaleCore/servers/openresty/templates/location.conf#L18
https://localhost/auth/login?next_url=/threefoldfoundation/stellar_faucet
I accepted the localhost untrusted connection in my browser but the problem remains. @DylanVerstraete only tested using
nmp run serve
, not through the threebotpackageHow do I run/test this package locally?