Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report : Authorization doesn't work 1.27 #132

Closed
AlexeyBoiler opened this issue Apr 30, 2024 · 2 comments
Closed

Bug Report : Authorization doesn't work 1.27 #132

AlexeyBoiler opened this issue Apr 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@AlexeyBoiler
Copy link

Describe the bug

When I enabled authorization, it now displays:
AttributeError: 'Authenticate' object has no attribute 'credentials'
Traceback:
File "/root/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/opt/hummingbot-dashboard/dashboard/main.py", line 110, in
config["credentials"] = st.session_state.authenticator.credentials
Capture-2024-04-30-201920

Steps to reproduce bug

@AlexeyBoiler AlexeyBoiler added the bug Something isn't working label Apr 30, 2024
@anselumana
Copy link

+1

I solved it by replacing line 110 with the following:
config["credentials"] = st.session_state.authenticator.authentication_handler.credentials

@david-hummingbot
Copy link
Contributor

As mentioned here - #112 we are currently doing a major overhaul of the dashboard for the May release. You can test it out here - https://github.com/cardosofede/hummingbot-deploy

Please test and provide feedback here in Github or in our #dashboard channel in Discord!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants