Unable to log in if invalid jwt cookie is already set at parent domain #3269
Unanswered
Ivo-Donchev
asked this question in
Error / Bug Report
Replies: 3 comments 1 reply
-
|
Same Problem here, have you found a solution how to log in again? I am locked out of my wiki right now. Can I set the jwt domain in a configuration file manually? Thankful for any help |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hi, this problem exist for us too. Can we make jwt cookie name to something custom? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @NGPixel what do you think about this issue? Is it hard to make jwt cookie name custom? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
If you host wikijs on a subdomain
wiki.domain.comand the site you host ondomain.comsets a jwt cookie (withjwtname), there's a conflict with the cookies when you try to log into wiki.js which doesn't allow to login but displaysLogin successful messageTo Reproduce
document.cookie = "jwt=test; domain=domain.com"Log inExpected behavior
I think wiki js should keep looking the cookies from the upper domain but should look it's own with higher priority. Or to provide interface for configuring
jwtcookie name to something customHost Info (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions