Fixed
Project:
Shield
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Nov 2017 at 18:13 UTC
Updated:
11 Sep 2026 at 04:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dfarouk commentedComment #3
dfarouk commentedComment #4
dfarouk commentedComment #5
dakku commentedCross reference, please also see: https://www.drupal.org/project/shield/issues/2815945
Comment #6
dfarouk commentedthis patche allows use endpoint rest and web service calls
Comment #7
dfarouk commentedComment #8
dfarouk commentedComment #9
Mike Dodd commentedcomposer did not like that patch file, new one attached
Comment #10
Mike Dodd commentedtry that again, no contrib
Comment #11
Mike Dodd commentednot working correct, there is a race condition that is causing intermittent problems
Comment #12
dfarouk commentedMike Dodd : In composer.json you use the patch that way
And it works ;)
Comment #13
douggreen commentedPlease restore the spacing in this patch. It's difficult to review as-is. I suspect a lot less has changed than is showing here.
Comment #14
R Lodhia commentedPorted this same patch to the newest dev version of Shield. Tested with Shield 8.x-1.2.
Comment #15
geek-merlinThis looks similar to the related issue. Please consolidate.
Also going to commit patches touching this code, so probably needs reroll.
Comment #19
damienmckennaI rerolled the patch as the MR.
Comment #20
damienmckennaWith the latest fixes the last issue is this test failure:
The problem here is that it suggests the changes aren't working at all?
Comment #21
damienmckennaComment #22
damienmckennaI just realized that there's no way of controlling the "unset_basic_auth_headers" setting, so it might be worth adding a separate issue for that.
Comment #25
japerryBasic Auth in core (for Drupal users is a great idea, but since you can only pass the basic auth parameters once, the user login needs to be tied to shield.
Created an MR that, if core basic_auth is enabled, allow an administrator to enable basic_auth as an option inside shield. This resolves most of the issues found above, and resolves a feature request in #2827060: Allow to authenticate with user credentials
Comment #27
japerry