AykutSarac / jsoncrack.com

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML, CSV and more, into interactive graphs.
https://jsoncrack.com/
Other
30.49k stars 1.89k forks source link

Disable Google Login in docker-compose #287

Closed janmarcopetri closed 1 hour ago

janmarcopetri commented 1 year ago

Feature

Is it possible to set an environment variable in docker-compose to disable the Google login feature in the newer versions of jsoncrack? Couldn't find anything regarding this...

Alternative solutions or implementations

Add an environment variable for docker-compose to disable Google login. Because of privacy reasons and the data protection laws in some countries it might be very useful to disable the (Google) login option, depending on the use case of the self-hosted docker instance of jsoncrack.

Other context

No response

AykutSarac commented 1 year ago

Specific environment should be added to prevent endpoint actions and set default placeholder user.

janmarcopetri commented 1 year ago

Hi, any update on this? We would very much appreciate if it was possible to disable the register and sign-in -features.

AykutSarac commented 1 year ago

Hi, any update on this? We would very much appreciate if it was possible to disable the register and sign-in -features.

You should be signed-in to placeholder account by default on localhost.

janmarcopetri commented 1 year ago

Screenshot 2023-06-20 151859

Well, the landing-page still has a huge Sign In button in the top right which will redirect to /sign-in and allows login via Google.

Screenshot 2023-06-20 152046

Info that might be useful: Version: Docker 3.0.0 Proxy'd behind HAProxy (access via FQDN subdomain) (When navigating to /sign-in directly (or when reloading the sing-in page), a nginx 404 error page appears)

Feature request: completely disable (hide) the Log In button (option)