WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#39680 closed defect (bug) (invalid)

Basic Auth WP-Rest API

Reported by: zuchowra Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7.1
Component: REST API Keywords:
Focuses: Cc:

Description

Hey Everyone,

So im using the WP-Rest API V2 and Basic Auth plugin and when i try to do a POST this is what i get .

{"code":"rest_cannot_edit","message":"Sorry, you are not allowed to edit this post.","data":{"status":401}}

Any help would be greatly appreciated. Thanks

Change History (2)

#2 @dd32
3 years ago

  • Component changed from General to REST API
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @zuchowra and welcome to Trac.

As the Basic Auth plugin was never migrated to WordPress core, I'm going to mark this ticket as invalid.
You can follow up with the plugin authors in the thread linked above: https://github.com/WP-API/Basic-Auth/issues/35

Note: See TracTickets for help on using tickets.