I will add a patch that allows authentication using a Drupal user's credentials by adding a configurable option in the shield configuration.

This might be related to https://www.drupal.org/node/2815945, but basic auth isn't necessarily needed for this feature.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Syndz created an issue. See original summary.

Syndz’s picture

Status: Active » Needs review
FileSize
5.39 KB

Here's the patch.

Syndz’s picture

Assigned: Syndz » Unassigned
FileSize
3.84 KB

Rerolled patch against latest dev.

Gertjan.k’s picture

#3 gave me strange issues with fields/content disappearing. I haven't find the exact issue, but it was caused somewhere in the "$userAuth->authenticate" call. I've created a workaround by using a manual query, but it's not an elegant solution.

Gertjan.k’s picture

Rerolled against latest dev