mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 16:25:55 +03:00
[GH-ISSUE #848] [BUG] error: Invalid JWT #307
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#307
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ryan2025 on GitHub (Feb 24, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/848
Describe the bug
Invalid JWT no if the secret is changed.
To Reproduce
After the container starts, going into the container reproduces the error.
Expected behavior
Expected to enter the gui interface and not be seen with any JWT issues.
Logs
WARNING: A key_seed was given, we will ignore the server_key and generate one from the seed!
Loading configuration from /data/lldap_config.toml
2024-02-24T12:28:12.648719467+00:00 INFO set_up_server [ 5.51ms | 100.00% ]
2024-02-24T12:28:12.648739883+00:00 INFO ┝━ i [info]: Starting LLDAP version 0.5.1-alpha
2024-02-24T12:28:12.665632105+00:00 INFO ┝━ i [info]: Starting the LDAP server on port 3890
2024-02-24T12:28:12.666258886+00:00 INFO ┕━ i [info]: Starting the API/web server on port 17170
2024-02-24T12:28:12.666423589+00:00 INFO i [info]: starting 1 workers
2024-02-24T12:28:12.666500349+00:00 INFO i [info]: Actix runtime found; starting in Actix runtime
2024-02-24T12:28:12.667637826+00:00 INFO i [info]: DB Cleanup Cron started
2024-02-24T12:28:42.665947827+00:00 INFO LDAP session [ 426µs | 44.93% / 100.00% ]
2024-02-24T12:28:42.666118552+00:00 INFO ┕━ LDAP request [ 234µs | 55.07% ]
2024-02-24T12:28:58.921913036+00:00 ERROR 🚨 [error]: | error: Invalid JWT
2024-02-24T12:28:58.923999669+00:00 ERROR 🚨 [error]: | error: Invalid JWT
2024-02-24T12:28:58.995623599+00:00 ERROR 🚨 [error]: | error: Invalid JWT
2024-02-24T12:29:12.753704871+00:00 INFO LDAP session [ 422µs | 43.82% / 100.00% ]
2024-02-24T12:29:12.753844558+00:00 INFO ┕━ LDAP request [ 237µs | 56.18% ]
@nitnelave commented on GitHub (Feb 24, 2024):
It's a bit hard to see what's going on, here. First things first: have you tried clearing your cookies? You might have a JWT coming from a previous setup.
If that doesn't work, I'll need some more info:
@ryan2025 commented on GitHub (Feb 25, 2024):
Oh man, I feel like such an idiot. Just had to clear my cookies... I thought I did that in the past but pretty sure I just cleared the browsing data.
@ryan2025 commented on GitHub (Feb 25, 2024):
Solved after clearing cookies.