Title: WP REST API &#8211; OAuth 1.0a Server
Author: Joe Hoyle
Published: <strong>6 de Outubro, 2016</strong>
Last modified: 5 de Agosto, 2024

---

Pesquisar plugins

![](https://ps.w.org/rest-api-oauth1/assets/banner-772x250.png?rev=3004388)

Este plugin **não foi testado com as 3 atualizações principais mais recentes do 
WordPress**. Pode ser que não tenha mais manutenção ou suporte e talvez tenha problemas
de compatibilidade quando usado com versões mais recentes do WordPress.

![](https://ps.w.org/rest-api-oauth1/assets/icon-256x256.png?rev=3004388)

# WP REST API – OAuth 1.0a Server

 Por [Joe Hoyle](https://profiles.wordpress.org/joehoyle/)

[Baixar](https://downloads.wordpress.org/plugin/rest-api-oauth1.0.4.4.zip)

 * [Detalhes](https://pt-ao.wordpress.org/plugins/rest-api-oauth1/#description)
 * [Avaliações](https://pt-ao.wordpress.org/plugins/rest-api-oauth1/#reviews)
 * [Desenvolvimento](https://pt-ao.wordpress.org/plugins/rest-api-oauth1/#developers)

 [Suporte](https://wordpress.org/support/plugin/rest-api-oauth1/)

## Descrição

This plugin uses the OAuth 1.0a protocol to allow delegated authorization; that 
is, to allow applications to access a site using a set of secondary credentials.
This allows server administrators to control which applications can access the site,
as well as allowing users to control which applications have access to their data.

This plugin only supports WordPress >= 4.4.

The latest stable version is also available from the [WordPress Plugin Directory](https://wordpress.org/plugins/rest-api-oauth1/).

### New to OAuth

We strongly recommend you use an existing OAuth library. You’ll be best off if you
understand the authorization process, but leave the actual implementation to well-
tested libraries, as there are a lot of edge cases.

Start reading from [the Introduction](https://pt-ao.wordpress.org/plugins/rest-api-oauth1/docs/introduction/README.md?output_format=md)
to get started!

### For OAuth Veterans

If you already know how to use OAuth, here’s the lowdown:

 * The plugin uses **OAuth 1.0a** in
 * We use the **three-legged flow**
 * To find the REST API index, apply the [API autodiscovery process](http://v2.wp-api.org/guide/discovery/)
 * The endpoints for the OAuth process are available in the REST API index: check
   for `$.authentication.oauth1` in the index data.
    - The **temporary credentials** (request token) endpoint is `$.authentication.
      oauth1.request` (typically `/oauth1/request`)
    - The **authorization** endpoint is `$.authentication.oauth1.authorize` (typically`/
      oauth1/authorize`)
    - The **token exchange** (access token) endpoint is `$.authentication.oauth1.
      access` (typically `/oauth1/access`)
 * Your callback URL must match the registered callback URL for the application 
   in the scheme, authority (user/password) host, port, and path sections. (**Subpaths
   are not allowed.**)
 * The only signature method supported is **HMAC-SHA1**.
 * OAuth parameters are supported in the Authorization header, query (GET) parameters,
   or request body (POST) parameters (if encoded as `application/x-www-form-urlencoded`).**
   OAuth parameters are not supported in JSON data.**

## Avaliações

![](https://secure.gravatar.com/avatar/26cc1f2d6bf8110a36104b5d92eacf62c6948609c6f8c0afbb12ac8af9d5014f?
s=60&d=retro&r=g)

### 󠀁[very good plugin](https://wordpress.org/support/topic/very-good-plugin-2117/)󠁿

 [springapidev](https://profiles.wordpress.org/springapidev/) 6 de Março, 2021

it is very good plugin, please update.

![](https://secure.gravatar.com/avatar/1b858abea6bc56a08cb57bae336d91f75daeb45f7cbc34092c67e52af1894485?
s=60&d=retro&r=g)

### 󠀁[Good But](https://wordpress.org/support/topic/good-but-179/)󠁿

 [Ahmed Hnewa](https://profiles.wordpress.org/ahmedriyadh/) 22 de Fevereiro, 2021

Really Useful And Good Plugin But Please 1- Reply on The Support Forum 2- Update
it To Work Good With Last WordPress Verison 3 – No Clear Docs 4 – not work with 
localhost

![](https://secure.gravatar.com/avatar/0df54330eb38126db80a0ce8142b8fa7b4c4b548bb796ed2f138c8ff2c83513e?
s=60&d=retro&r=g)

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-3206/)󠁿

 [majidmad](https://profiles.wordpress.org/majidmad/) 5 de Abril, 2020

Missing parameter oauth_token

![](https://secure.gravatar.com/avatar/399560c7c25f6078e119aa3ad62432469f986ef337ecb723c618a8fd25be4ae7?
s=60&d=retro&r=g)

### 󠀁[Automatically delete application](https://wordpress.org/support/topic/automatically-delete-application/)󠁿

 [mphramin](https://profiles.wordpress.org/mphramin/) 8 de Setembro, 2018

I have create application with consumer name, description and callback. but after
few our, that application had removed. why did that?

![](https://secure.gravatar.com/avatar/35512f5059008ab0a423898ef22ade924f169d2d94b6900cb337d05f814a69fc?
s=60&d=retro&r=g)

### 󠀁[Worked like a charm!](https://wordpress.org/support/topic/worked-like-a-charm-118/)󠁿

 [Rehmat Alam](https://profiles.wordpress.org/rehmatworks/) 8 de Outubro, 2017

Got this working after some good amount of work! Thanks for bringing this and making
API calls secure.

![](https://secure.gravatar.com/avatar/2f45c75697cc9a026fba1c830389ae7a1dc580ff519ec07c4a89c65a225ff246?
s=60&d=retro&r=g)

### 󠀁[DOesn’t authenticate, no response](https://wordpress.org/support/topic/doesnt-authenticate-no-response/)󠁿

 [eddiewebb](https://profiles.wordpress.org/eddiewebb/) 3 de Agosto, 2017

Just google { "code": "rest_cannot_create", "message": "Sorry, you are not allowed
to create posts as this user.", "data": { "status": 401 } } and you’ll find anyone
using this plugin having issues authenticating to perform and protected operations.
Dev team is not even responding to github issues or forum posts.

 [ Leia todas as 6 avaliações ](https://wordpress.org/support/plugin/rest-api-oauth1/reviews/)

## Contribuidores e desenvolvedores

“WP REST API – OAuth 1.0a Server” é um software com código aberto. As seguintes 
pessoas contribuíram para este plugin.

Contribuidores

 *   [ Joe Hoyle ](https://profiles.wordpress.org/joehoyle/)
 *   [ Ryan McCue ](https://profiles.wordpress.org/rmccue/)
 *   [ Rachel Baker ](https://profiles.wordpress.org/rachelbaker/)
 *   [ Daniel Bachhuber ](https://profiles.wordpress.org/danielbachhuber/)
 *   [ Jonny Harris ](https://profiles.wordpress.org/spacedmonkey/)

[Traduzir “WP REST API – OAuth 1.0a Server” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/rest-api-oauth1)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/rest-api-oauth1/),
dê uma olhada no [repositório SVN](https://plugins.svn.wordpress.org/rest-api-oauth1/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/rest-api-oauth1/)
via [RSS](https://plugins.trac.wordpress.org/log/rest-api-oauth1/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.4.4**
 *  Last updated **2 anos atrás**
 *  Active installations **8.000+**
 *  WordPress version ** 4.4 ou maior **
 *  Tested up to **6.6.5**
 *  PHP version ** 5.4 ou maior **
 *  Language
 * [English (US)](https://wordpress.org/plugins/rest-api-oauth1/)
 * Tags
 * [api](https://pt-ao.wordpress.org/plugins/tags/api/)[JSON](https://pt-ao.wordpress.org/plugins/tags/json/)
   [rest](https://pt-ao.wordpress.org/plugins/tags/rest/)[rest-api](https://pt-ao.wordpress.org/plugins/tags/rest-api/)
 *  [Panorama avançado](https://pt-ao.wordpress.org/plugins/rest-api-oauth1/advanced/)

## Classificações

 3.7 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/rest-api-oauth1/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/rest-api-oauth1/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/rest-api-oauth1/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/rest-api-oauth1/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/rest-api-oauth1/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/rest-api-oauth1/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/rest-api-oauth1/reviews/)

## Contribuidores

 *   [ Joe Hoyle ](https://profiles.wordpress.org/joehoyle/)
 *   [ Ryan McCue ](https://profiles.wordpress.org/rmccue/)
 *   [ Rachel Baker ](https://profiles.wordpress.org/rachelbaker/)
 *   [ Daniel Bachhuber ](https://profiles.wordpress.org/danielbachhuber/)
 *   [ Jonny Harris ](https://profiles.wordpress.org/spacedmonkey/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/rest-api-oauth1/)