You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a new constant, something like REQUIRE_HTTPS_TO_SHRINK_OR_MANAGE
Any API or web UI requests — that is, anything that hits /-/index.php today — would fail with a 400 BAD REQUEST error and an error page or error message (depending on whether it is via web UI or API) stating that HTTPS is required.
This would be preferred over a 301 or other redirection because a redirection does not let the user know that they have potentially leaked their API key in plaintext, etc.
Of course, the downside is that old integrations & bookmarks will break. This should be combatted with appropriate warnings on the upgrade.
LM 2.4.0 allowed HTTPS-only cookies but you can still log in on HTTP if your server is flexible, which many would be given http:// short URLs.
We should allow forcing HTTPS logins
The text was updated successfully, but these errors were encountered: