Skip to content
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

Can not pass authentication when running with local storage #381

Open
Nymfeparakit opened this issue Apr 8, 2021 · 4 comments
Open

Can not pass authentication when running with local storage #381

Nymfeparakit opened this issue Apr 8, 2021 · 4 comments

Comments

@Nymfeparakit
Copy link

I am unable to pass authentication in vimflowy.

Here I will describe my steps in detail.

At fisrt I downloaded docker image from Docker Hub.

Then I created new volume:

docker volume create vimflowy-db

And then I launched container using command:

docker run -d \  
             -e VIMFLOWY_PASSWORD=123 \  
             --name vimflowy \  
             --mount source=vimflowy-db,target=/app/db \  
             -p 3000:3000 \  
             vimflowy/vimflowy

After starting the container, I go to http://localhost:3000 and the popup window appears to enter the password.
I enter 123, and after entering new popup window appears, in which it is written that my password is incorrect.

I do not understand what I do wrong since I tried to do the whole setup according to the docs :(

@WuTheFWasThat
Copy link
Owner

WuTheFWasThat commented Apr 9, 2021

hmmm i don't think you should be getting a pop up window for a password, it should be entered into a form in settings i believe. could you show me a screenshot of the popups?

@Nymfeparakit
Copy link
Author

Nymfeparakit commented Apr 9, 2021

Then it's a bit strange, because I tried to run vimflowy on my two different PC's, and a pop up window appeared on both.

Here are screenshots:
https://paste.pics/d132cb65aca6b46418cf1322ec7276fb
https://paste.pics/454f5cf290838d0c44f420844b8ee4c6

@WuTheFWasThat
Copy link
Owner

WuTheFWasThat commented Apr 10, 2021

ahh you're right, i misremembered. sorry...

@Nymfeparakit
Copy link
Author

I also tried to print environment variable VIMFLOWY_PASSWORD in a shell on the container and it showed me the value 123, as expected...

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

No branches or pull requests

2 participants