Closed cardosofede closed 3 weeks ago
PR update:
set_environment.sh
admin/admin
worked ✅backend_api_username and password
does not match to set .env file, user cannot access ✅Attached recording of XEMM Controller accessible when unauthorized:
https://github.com/user-attachments/assets/d1845fb8-f097-4bc4-9ceb-cc5d217a13fc
0c9238a
Docker backend-api-PR37 + dashboard PR188
AUTH_SYSTEM_ENABLED True
docker build -t hummingbot/dashboard:development -f Dockerfile .
docker build -t hummingbot/backend-api:development -f Dockerfile .
Actual: Reviewed not asked for authentication
Is necessary to run the broker via Docker, and this version of the Backend-API via source or docker: https://github.com/hummingbot/backend-api/pull/37
In this PR we should test the following things (is necessary to do a fresh install of the environment):
Auth system: change in CONFIG.py AUTH_SYSTEM_ENABLED to True by default (so you don't need to set up an env variable or set the env variable, as you want) -- > line 20 of the image. Test that the login is working well for admin abc that is the default.
Backend API security: as you can see lines 24 and 25 were added to introduce two new env variables. By default, the user and pass are (admin, admin) for Backend API. If you run the Dashboard you should be able to use it without problems. The next thing will be: