What is the environment variable for JWT secret ? #48
Copy link
Copy link
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Activity
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.
- addedquestionFurther information is requestedFurther information is requestedand removedbugSomething isn't workingSomething isn't working
on Sep 19, 2025 Ok @Cod-e-Codes
Thank you !@ludetie you are very welcome!
- Repository owner locked and limited conversation to collaborators
on Oct 6, 2025
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
Hello @Cod-e-Codes
I wanted to know what the environment variable is for the JWT secret, if it exists.
I see in the web admin panel :
I think this is the default one.
How to change it ?