[wp-trac] [WordPress Trac] #47077: Add Support for REDIRECT_HTTP_AUTHORIZATION to REST Server

WordPress Trac noreply at wordpress.org
Mon Feb 10 05:47:44 UTC 2020


#47077: Add Support for REDIRECT_HTTP_AUTHORIZATION to REST Server
-------------------------------------------------+-------------------------
 Reporter:  dshanske                             |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.4
Component:  REST API                             |     Version:  4.4
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-unit-tests          |     Focuses:
  reporter-feedback has-patch                    |
-------------------------------------------------+-------------------------

Comment (by dshanske):

 For errors, reading most of the auth plugins, not just my own,
 authentication isn't done using the identified filter...it is usually done
 in determine_current_user and only the results would be passed to the
 filter.

 And using a function called get_headers is where most people would start,
 rather than reading it themselves

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47077#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list