Ticket #9320 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 3 years ago

always call wp_authenticate from AtomPub

Reported by: wnorris Owned by: josephscott
Priority: normal Milestone: 2.8
Component: AtomPub Version: 2.8
Severity: normal Keywords: has-patch
Cc: wnorris, westi

Description

The included patch makes a small change to the AtomPub code which causes it to always attempt user authentication via wp_authenticate(). Previously, it was only making this call if the BasicAuth server parameters were set. In order for OAuth (or any alternate authentication mechanism) to work wp_authenticate() must always be called in order to give them a chance to authenticate the request.

Attachments

wp-app.diff Download (840 bytes) - added by wnorris 3 years ago.

Change History

wnorris3 years ago

  • Cc wnorris added
  • Cc westi added

comment:3   ryan3 years ago

  • Status changed from new to closed
  • Resolution set to fixed

(In [10771]) Always wp_authenticate in wp-app. Props wnorris. fixes #9320

Note: See TracTickets for help on using tickets.