postgresql_cluster icon indicating copy to clipboard operation
postgresql_cluster copied to clipboard

[Bug] console/docker-compose.yml autobase-console-ui does not have the right auth_token environment variable

Open gsalingu opened this issue 1 month ago • 1 comments

Bug description

As a new user of the solution I am trying to use the solution as instructed in the doc with docker compose. Doing so currently the provided docker compose will result in the application deploying with an improper AUTH_TOKEN environment variable, leading to the user being unable to authenticate

In lieu of PG_CONSOLE_AUTHORIZATION_TOKEN, autobase-console-ui should have VITE_AUTH_TOKEN as an environment variable to pass the auth token

Expected behavior

When the user properly follows the documentation he's able to connect to the autobase console without issue

Steps to reproduce

https://github.com/vitabaks/autobase/blob/2.5.0/console/README.md#quick-start

Installation method

Console (UI)

System info

debian 13 autobase is running in docker-compose behind a proxy

Additional info

No response

gsalingu avatar Nov 23 '25 21:11 gsalingu

PG_CONSOLE_AUTHORIZATION_TOKEN is alias for VITE_AUTH_TOKEN

https://github.com/vitabaks/autobase/blob/master/console/ui/env.sh#L8

And AUTH_TOKEN is value for PG_CONSOLE_AUTHORIZATION_TOKEN

vitabaks avatar Nov 24 '25 03:11 vitabaks