[GH-ISSUE #349] JWT instructions in sample config file can cause an error #130

Closed
opened 2026-02-27 08:15:25 +03:00 by kerem · 0 comments
Owner

Originally created by @IndrekHaav on GitHub (Oct 20, 2022).
Original GitHub issue: https://github.com/lldap/lldap/issues/349

Ran into the following error after generating a new JWT key using the instructions in the lldap_config.docker_template.toml file:

$ ./lldap run
Loading configuration from lldap_config.toml
Error: expected newline, found an identifier at line 31 column 40 in lldap_config.toml TOML file

Turns out the command generated a key with a quotation mark in it, and I didn't notice it when copy&pasting it into the config file.

This might become moot with #262, but I'll submit a quick PR nonetheless.

Originally created by @IndrekHaav on GitHub (Oct 20, 2022). Original GitHub issue: https://github.com/lldap/lldap/issues/349 Ran into the following error after generating a new JWT key using the instructions in the [lldap_config.docker_template.toml](https://github.com/nitnelave/lldap/blob/main/lldap_config.docker_template.toml) file: ``` $ ./lldap run Loading configuration from lldap_config.toml Error: expected newline, found an identifier at line 31 column 40 in lldap_config.toml TOML file ``` Turns out the command generated a key with a quotation mark in it, and I didn't notice it when copy&pasting it into the config file. This might become moot with #262, but I'll submit a quick PR nonetheless.
kerem closed this issue 2026-02-27 08:15:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#130
No description provided.