Login with redirect to page doesn't work?

Hi,

I'm using OpenWrt 19.07.3 on TP-Link Archer C7v2/5 routers. If I login to the units via IP -> Login Page -> Enter user/pass -> Submit the login succeeds and I land on the status page.

I've tried to bookmark the "http://IP/cgi-bin/luci/admin/network/wireless" page to land directly there after login. If I'm logged out and navigate to the URL, the login page is shown. After entering user/pass and pressing "Submit" to login, OpenWrt LUCI redirects me (correctly) to http://IP/cgi-bin/luci/admin/network/wireless but shows an error. I'd expect the wireless page to show instead.

Screenshot:

Is this a bug and should be reported to your tracker?

Thanks for your answer.

Kind regards,
Catfriend1

I don't have this issue here on a master build running firefox.
Did you try anohter browser or did you clear the cache?

It works with current Chrome. I'm using remote desktop manager (from devolutions) to login and store credentials. RDM makes use of a chrome wrapper (EssentialObjects Browser), probably limiting session cookies. It always works with the tool if entering the web page through the root "/". Entering a full address to start a new session leads to the above mentioned error, reproducibly.

You can test using the rdm admin tool with a free version: https://remotedesktopmanager.com/home/download

Well as you are hiding complete url I cannot say if your bookmarked url is correct (invalid url). So lets guess its correct. :smiley:

But given how you are accessing I would deny it is a OpenWrt/LuCI issue. Because it is working under "normal" conditions. At least here on my PC.

2 Likes

It works for me on OpenWrt 19.07.3 and Chromium 84.
Test link: https://openwrt.lan/cgi-bin/luci/admin/network/dhcp

1 Like

Only the IP was hidden in the above screenshot. You're right, it's strange but the ticket should go to the EO web browser support (product used in rdm) and say "what are they doing about wrapping chrome that breaks the site's redirect after login".

Thank you very much for your help.

1 Like