Skip login window when database authentication is turned off
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.
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
Thank you for your feedback. @yyh0808 Can you take a look at this problem?