Skip to content

Skip login window when database authentication is turned off #769

@johnny-smitherson

Description

@johnny-smitherson

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

Metadata

Metadata

Assignees

Labels

type/enhancementType: make the code neat or more efficient

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions