[wp-trac] [WordPress Trac] #42790: Permit basic authentication to the REST API over SSL

WordPress Trac noreply at wordpress.org
Wed Nov 27 15:09:07 UTC 2019


#42790: Permit basic authentication to the REST API over SSL
-----------------------------+------------------------------
 Reporter:  kadamwhite       |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  REST API         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by koke):

 The mobile apps are starting to need this (or an alternative) more and
 more often. With our focus on Gutenberg in the apps, we are finding many
 scenarios where Gutenberg obtains data from the REST API that we can't
 access because we have no good way to authenticate.

 I think in the long term we would rather use a token-based approach like
 the one being discussed in https://github.com/wp-api/authentication but
 that's still in the early stages, and it looks like it's going to take
 some time to get right. Besides, we are going to need a migration path for
 all the existing users for whom we already have usernames and passwords,
 and basic auth seems like a great solution for the short and medium term.

 It would be very helpful for Gutenberg on mobile to have this available on
 core soon.

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


More information about the wp-trac mailing list