tontof / kriss_feed

A simple and smart (or stupid) feed reader
279 stars 52 forks source link

Login loop #351

Open blessedbiped opened 10 years ago

blessedbiped commented 10 years ago

I'm running on a raspberry pi with nginx (using arkos.io), and while i can get the initial login page, the next page after I hit continue just returns me to the login screen. /data is created, and no errors that I can see. I can delete config.php in /data, and get the initial login again but it still loops on the login page.

blessedbiped commented 10 years ago

Just inspected the address, the login page is appearing at host:port/?import, which seems strange. I'm assuming there's something redirecting the import page to the main index page, but I'm lost beyond that. I did already have to comment out the XSRF block to get the page to load at all, if that's affecting anything.

tontof commented 10 years ago

After installation, the first redirect to login page is the default behavior. Did you try to enter your login and password on that login page ? That's very strange for the XSRF block, maybe your server config is problematic. Are you using shaarli ? If so, do you have the same problem ?

blessedbiped commented 10 years ago

Yes I assumed that the first time was just the setup, but it will loop on the second login page no matter how many times I try the credentials. I don't know what shaarli is so no, I'm not using it

On Jun 30, 2014, at 23:12, tontof notifications@github.com wrote:

After installation, the first redirect to login page is the default behavior. Did you try to enter your login and password on that login page ? That's very strange for the XSRF block, maybe your server config is problematic. Are you using shaarli ? If so, do you have the same problem ?

— Reply to this email directly or view it on GitHub.

tontof commented 10 years ago

https://github.com/sebsauvage/shaarli is a bookmark management and I use the same approach that's why I was wondering if you had the same behaviour with it. I had a problem at my lab with the proxy and I was loosing my session when log in. To solve that I had to go to the page adding a '?' at the end of url. For example:

instead of:

Don't know if it's the same problem.

blessedbiped commented 10 years ago

I'll let you know, the server crashed. I'll try again once it's reinstalled.

ghost commented 9 years ago

I had the same issue; I cleared the cookies in the navigator and it solved the issue.