-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lost keys when upgrading to 4.x whilst using proxy header authentication #176
Comments
For anyone seeing similar issue, to fix it manually I had to open the sqlite file in an editor and set the user_id column on the keys to the user id of your account |
Hi, From the change log/release notes:
|
That worked, thank you! |
I think the setup running now was straight remote user, but I cannot recall anymore :< |
I was able to reproduce, I think this is this condition that leads to the situation. |
Describe the bug
Upgrading to 4.0 caused me to lose all my authenticators due to email changing when using
AUTHENTICATION_GUARD=reverse-proxy-guard
AUTH_PROXY_HEADER_FOR_USER=HTTP_REMOTE_USER
From what I can tell in the account page, my email changed from fake.email@do.not.use in 3.x to admin@remote on 4.x
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Migration should keep details
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: