Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently only OAuth support is implemented.
Basic HTTP authentication could be available by manually setting CURL parameters, which is not very convinient.
So additional authentication plugin is highly desired - it could be used by other modules: see Web Service Client issue #1285310: Authentication settings in the UI for reference.
Comment | File | Size | Author |
---|---|---|---|
#2 | http_client-2042205-create_basic_http_auth_plugin-2.patch | 17.55 KB | PatchRanger |
#1 | http_client-2042205-create_basic_http_auth_plugin-1.patch | 17.55 KB | PatchRanger |
Comments
Comment #1
PatchRanger CreditAttribution: PatchRanger commentedDone, please review.
Comment #2
PatchRanger CreditAttribution: PatchRanger commentedPrevious one has a typo in filename, so here is fixed patch.
Comment #3
h3rj4n CreditAttribution: h3rj4n commentedWhy is oauth a submodule and basic is not? Both should not be a submodule or both should be a submodule. I think it's an extra function / plugin for this module so it should be a submodule.
Comment #4
AnybodyThe patch works great, but sadly there has been no progress so far. Other Issues like #1285310: Authentication settings in the UI depend on this patch.
I'm not sure if a separate module is really required and I think it's a general debate like with other modules. Separate modules may extend the "basic" functionality. Why not?
Comment #5
dashohoxha CreditAttribution: dashohoxha commentedThis issue has a patch that creates a plugin for oauth2 authentication support: #2138627: Create plugin for OAuth2 authentication
Comment #6
dashohoxha CreditAttribution: dashohoxha commented