Feature No Code Attached Yet
avatar bernd5
bernd5
8 May 2025

For auth-mechanisms like kerberos/NTLM the server returns "401 Unauthorized" with a WWW-Authenticate: Negotiate if a user wants to access a protected ressource and is not already authenticated. Then a browser may issue a request again with some credentials (e.g. Authorization: Negotiate <credentials>).

Currently we check if a resource is protected and do a redirect to the login page (even without http 401). There a user can enter his credentials...

It would be better if wouldn't do the redirect. Instead we should render the login page and return a HTTP 401 with some optional HTTP auth challenges (like Negotiate). Then a login can happen without user interaction. To do so we should add an event for authentication plugins. Its name could be onUserChallengeAuthentication.

avatar bernd5 bernd5 - open - 8 May 2025
avatar joomla-cms-bot joomla-cms-bot - change - 8 May 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 May 2025
avatar QuyTon QuyTon - change - 8 May 2025
Labels Added: Feature
avatar QuyTon QuyTon - labeled - 8 May 2025

Add a Comment

Login with GitHub to post a comment