You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
What is the environment variable for JWT secret ? #48
Activity
Cod-e-Codes commentedon Sep 19, 2025
Hey @ludetie
The environment variable for the JWT secret is:
MARCHAT_JWT_SECRETIf not set, marchat uses the default value
marchat-default-secret-change-in-production.To set it before starting the server:
export MARCHAT_JWT_SECRET="$(openssl rand -base64 32)"After restarting the server, the admin panel and admin web UI should display the masked secret.
Side note: the metrics tab is broken in the latest release, but building from source or waiting for the next release will fix it.
ludetie commentedon Sep 19, 2025
Ok @Cod-e-Codes
Thank you !
Cod-e-Codes commentedon Sep 19, 2025
@ludetie you are very welcome!