Skip to content

server/config: read JWTs from a file - #5

Merged
PasiSa merged 1 commit into
PasiSa:mainfrom
flokli:jwt-secret-path
Nov 8, 2025
Merged

server/config: read JWTs from a file#5
PasiSa merged 1 commit into
PasiSa:mainfrom
flokli:jwt-secret-path

Conversation

@flokli

@flokli flokli commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

This makes it possible to not store the secret in the configuration file itself, allowing to pass it in via different mechanisms (like systemd service credentials) without having to assemble JSON at runtime.

jwt_secret is still accepted, and used in most tests, but jwt_path is preferred.

This makes it possible to not store the secret in the configuration
file itself, allowing to pass it in via different mechanisms (like
systemd service credentials) without having to assemble JSON at runtime.

jwt_secret is still accepted, and used in most tests, but jwt_secret_path
is preferred.
@flokli flokli changed the title server/config: allow JWT to be read from a file path server/config: read JWTs from a file Nov 7, 2025
@PasiSa
PasiSa merged commit ff99c4a into PasiSa:main Nov 8, 2025
1 check passed
@PasiSa

PasiSa commented Nov 8, 2025

Copy link
Copy Markdown
Owner

Thanks for a very appropriate change (again)! I could indeed remove jwt_secret, now that I woke up from my hibernation with this project :-).

@flokli
flokli deleted the jwt-secret-path branch November 8, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants