add a description to ClientAuthorization plugins

Created on 28 April 2025, about 1 month ago

Problem/Motivation

The ClientAuthorization plugins could do to have additional description text.

Then for instance, the warning_message that basic_auth adds could be shown there instead.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

4.0

Component

User interface

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @joachim
  • 🇬🇧United Kingdom joachim

    I thought I understood what the different authorization plugins did, but Use user.login.http instead of user.login Active has got me totally confused again.

    I thought that the basic_auth plugin relied on the server accepting the credentials in the HTTP header -- because this message shows when you select it in the UI:

    > With the Basic Auth authorization method you need to ensure that the HTTP Basic Authentication module is enabled on the server website.

    But then why does it also do this:

        $http_client->post($login_path, [
          'form_params' => [
            'name' => $credentials['username'],
            'pass' => $credentials['password'],
            'form_id' => 'user_login_form',
          ],
    
  • 🇫🇷France Grimreaper France 🇫🇷

    For "JSON:API clients" yes, it is with basic_auth module.

    But for "non JSON:API clients" we need another, persistent, authentication.

    The "non JSON:API clients" are used for physical files, for public files it is ok with the URL (as they are public), but for private file system, we need to make a request being authenticated.

    And the URL for the URI private://my/file.jpg will not authenticate you with basic_auth if I am not mistaken. Or if Ok with basic_auth, we need a dedicated method for other authentication plugins.

Production build 0.71.5 2024