"One Click Admin" not working with SSL

“One Click Admin” feature is not working when using SSL, it works if we dont trust SSL.

Basically it works when we use http , as soon as we enable SSL and click on trust SSL, one click admin doesnt redirect to Dashboard.

It redirects to LOGIN page and username field is pre-filled with USERNAME and PASSWORD field is empty.

Environment Info

Describe your environment.

  • Windows 10
  • LocalWP Latest (7.1.2)
  • Enviorment is Preffered (default by LOCAL) (ngnix)

Please help me to resolve this issue, it is so useful feature (one click admin).

Thanks a lot in advance

Please reply ?
Anyone?

Hi @Abbas_9

If you are still being prompted to log in to the “WP-Admin” after toggling on “One-click admin” and you are using Site Domains for your Router Mode then we suggest switching from that to localhost. Another option is to do a search and replace for https > http.

It stopped to work on macOS as well some time ago (don’t remember in which Local version) for ngnix websites but One-click admin automatic login still works for Apache websites when using SSL.

Hey Local team,

I can confirm that the one-click admin does not work when using SSL (on a Mac). Initially after spinning up a fresh site with the preferred environment (no SSL) the one-click admin works as expected. When I then enable SSL though (following the procedure described here) the one-click admin does no longer work and always leads to the login page.

These are my settings:

Let me know if you need more info. It’d be great if you guys had a look at it.

Thanks in advance,

André

Hi @aslotta @emmtre @Abbas_9

I just checked with the team and this is something they’ve had in their backlog and are looking into. So it is still a bug at this time but one on our map for getting fixed up.

Thank you for your patience and communication with us!

Hey @Nick-B,

sounds great. Thanks for the feedback!

Best,

André

1 Like