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

Skip login window when database authentication is turned off #769

Open
johnny-smitherson opened this issue Feb 29, 2024 · 1 comment
Open
Assignees
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@johnny-smitherson
Copy link

johnny-smitherson commented Feb 29, 2024

Is your feature request related to a problem? Please describe.

Even through Nebula Graph is configured with no database password, the login page is shown. Developers must login with graphd <TAB> root <TAB> 1234 several times per day.
Capt123ure

This also means the Studio cannot be easily configured to be integrated into other apps via <iframe> for quick access - users would have to login into each iframe.

Describe the solution you'd like
Have some setting that, when set, automatically logs in all browser visitors to the specified user/password/graphd. Make the setting dangerous-sounding, to ward off any production use.

For example, environment variables STUDIO_X_INSECURE_SKIP_AUTH=true STUDIO_X_INSECURE_SKIP_AUTH_USER=root STUDIO_X_INSECURE_SKIP_AUTH_PASS=1234 STUDIO_X_INSECURE_GRAPHD=http://graphd:1234.

The developer would then be responsible for securing the access.

Describe alternatives you've considered

Additional context

  • Nebula Graph 3.6.0 , nebula-graph-studio:v3.9.1
@QingZ11 QingZ11 added the type/enhancement Type: make the code neat or more efficient label Mar 4, 2024
@QingZ11
Copy link

QingZ11 commented Mar 4, 2024

Thank you for your feedback. @yyh0808 Can you take a look at this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

3 participants