Make remote authentication pluggable

Created on 28 April 2023, over 1 year ago

Problem/Motivation

DRD supports a server-side authentication of the remote sites. This is a very powerful feature when you maintain a lot of sites on a platform like Acquia or Platform.sh. Adding additional platforms is well supported by the DRD module.

But currently on the other side in drd_agent those services have been hard-coded at https://git.drupalcode.org/project/drd_agent/-/blob/4.0.x/src/Agent/Acti... . Those lines are supposed to compare information the Remote Site has, with Information the DRD host provided in the request.

I'm working on integrating another DRD PI service now and being able to provide a plugin for the drd_agent part would make the authentication work quite seamless.

Steps to reproduce

Proposed resolution

  • Create a Plugin annotation/Plugin manager for DRD PI Authentications
  • Make the base action invoke the plugin manager to load the corresponding plugin
  • Convert the existing platforms (Acquia, Platform.sh, Pantheon) into Plugins

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

4.0

Component

Code

Created by

🇩🇪Germany szeidler Berlin

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

Comments & Activities

Production build 0.71.5 2024