-
Notifications
You must be signed in to change notification settings - Fork 467
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
Make zenml up
prefill username when launching dashboard
#2024
Make zenml up
prefill username when launching dashboard
#2024
Conversation
src/zenml/api.py
Outdated
url = f"{url}:{port}" if port else url | ||
if prefill_username: | ||
url = ( | ||
f"{url}:{port}/login?username={DEFAULT_USERNAME}" if port else url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If someone were to configure their local server with external authentication support, will this mess with it in any way @stefannica?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A local server with external authentication support is not supported and not even technically possible, not even for development purposes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from my side but let's wait for clarification from @stefannica regarding @schustmi's comment
zenml up
launches the dashboard (unless you have a specific env variable set) without any details prefilled for the login screen. This PR addresses that and launches with thedefault
preset in the dashboard.Pre-requisites
Please ensure you have done the following:
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes