Retrieve users detail through WP REST API using access token of Auth0?

Using Auth0 plugin in Wordpress I have authorized new users and got the access token by reading Auth0 documentation Now I want to retrieve users through wp rest api retrieve users which need...

User's password update via WP REST API

I'm developing an iOS app that connects a WP REST API with JWT. The API and the JWT plugin (JWT Authentication for WP-API) are working ok. The app login is based in wordpress user and password and...

JWT Authentication for WP REST API: "No route was found matching the URL and request method"

My REST is beautifully working, i can get the result from the link: "172.18.52.78/bniforum451/wp-json/wp/v2/posts" and all combination REST link. But, i always get "No route was found matching the...

wordpress REST API draft posts not showing

Using the Wordpress REST API I am trying to get draft posts only. However the API responds with only the published posts when I pass the query in both cases. A:...

Authentication from localhost to rest api results CORS error

I just installed a fresh wp on a dev server. I am trying to authenticate to the rest api (plugin, since it's wp v.4.6.3), with an ionic/angularjs app which is located on my computer/device....

Wordpress - How to update user password using REST API

I am using wordpress as well woocommerce for my web store and also using woocommerce REST API for Android app. I have used WP REST API and JWT Authentication for WP-API plugins for user...

jwt_auth_no_auth_header error on validating WordPress REST API JWT token

I have two AWS instances, one for WordPress website and another for React application. To connect them together I am using "WP REST API - OAuth 1.0a Server" and "JWT Authentication for WP-API" for...

Wordpress REST API create users not working

I want to create and retrieve users in my WordPress site using an AngularJS client application. I am using WP REST API (Version 2) plugin and JWT Authentication for WP REST API plugin. I am using...

Integrating Wordpress Authorization and Sign in with Android

I am trying to build a native Android app for the Wordpress site. I am making use of WP REST API v2 (https://wordpress.org/plugins/rest-api/) to fetch the posts and other required attributes. I...

WP API get user data

I'm authenticating users iva JWT Auth on WP Rest API from a React Native app, so, something like that: export function userAuth(username, password) { return dispatch => { ...

Can not set OAuth on wordpress REST api

I want to implement Rest api with authorization in my Wordpress website. the version of Wordpress is 4.9.5 and REST api version 2.0-beta15. For securing my apis i need to implement OAuth on my...

Can't get server to catch Authorization header WP Rest API

I'm trying to develop an Android app for a WordPress/WooCommerce website. I can't seem to catch the Authorization header. I am using JWT Auth Plugin, I've set up the secret key and cors=true in...

Changing the rest_url_prefix make basic auth doesn't work

I'm using JWT Authentication for WP REST API plugin with Basic-Auth plugin to use the WP Rest API. I wanted to change the base url for security but when I change it with rest_url_prefix filter,...

Authorization header malformed WP JWT Authentication for WP REST API

I have managed to get the token using user and pass and now I am passing the token using this ajax call in order to create a new post , like this : $.ajax({ url:...

Wordpress JWT authentication Token Issue

I'm Using JWT authentication plugin to wordpress rest api for api access authentication but the issue is https://example.com/wp-json/jwt-auth/v1/token is generating error that it is not...

Get user ID from JWT (JSON web token)

I am using the plugin to authenticate WordPress using api-rest : JWT Authentication for WP REST API From the request to the server I get the following answer: { "token":...

How to get logged in user information using JWT Authentication?

In my WordPress REST API project i need to get logged in user data through api. I used the JWT Authentication for WP REST API plugin for generating tokens. I have generated tokens with the...

Check if JSON object null in JWT Authentication for WP REST API

I am using the "JWT Authentication for WP REST API" plug-in to login in my wordpress in iOS. When the access credentials are correct I get the response from the server: { "token":...

Can not authenticate a user who is not an administrator

I am building a flutter app and I want users to be able to authenticate using their wordpress credentials. I am using https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/#description...

How do I create an api endpoint that needs authentication using jwt authentication for wp rest

I have created an endpoint using the JWT api namespace, but cant seem to get the authentication part working, I have used wp-json/jwt-auth/v1/token to gain access to a token, but then how do I...

Can't upload image from React using Wordpress Media Rest API

I'm building a React app (with create-react-app) and I need to upload images in a Wordpress website, using Wordpress Media Rest API. I'm running the react app locally...

CORS preflight request doesn't pass access control check: It does not have HTTP ok status

I am trying to make a GET/POST Request to my Wordpress REST API using Authorization Headers but in response i am getting preflight request doesn't pass access control check: It does not have HTTP...

You are unauthorized to view this page: JWT Authentication for WP REST API with MemberPress plug in using WordPressPCL

Trying to use JWT Authentication for WP REST API using WordPressPCL API. Managed to authenticate and publish both posts and pages to the WordPress server using WordPressPCL. In order to restrict...

Wordpress CPL using JWT Token return error

Currently I have to Validate the Users threw 2 Processes This is the First If a Valid token is returned I move on to Phase 2, Wich is Just Pulling a Customers List and then Correlating the...

Apollo Client not sending JWT bearer token in Nextjs Lamda

TLDR The header authorization is not being sent with apollo. This leads to You do not have the appropriate capabilities to perform this action const apolloClient = ({ cookies: { token = null },...

Cors issues with JWT Authentication for WP REST API and local React project

I succesfully installed "JWT Authentication for WP REST API" and followed (and reviewed multiple times) the instructions for setup correctly. My React app does authenticate via the...

How do I authenticate WordPress non-admin users in a flutter app with JWT and flutter_wordpress package?

I am new to Flutter and I am building an app in Flutter for a previously existing WordPress membership site. Currently I am using the flutter_wordpress 0.1.4 package and the ‘JWT Authentication...

Using WordPress as a backend for a Flutter App

I'm going to be making a subscription-style membership website with WordPress for a friend, who is also interested in having an app built. That app, which I would build using Flutter, would need...

Using Wordpress PCL I always get 401 rest_cannot_access

I want to access Wordpress REST-API from C# using WordpressPCL. Therefore I installed the Wordpress Plugin "JWT Authentication for WP-API" and configured .htaccess and wp-config.php as mentioned...

Blocking SOME but not all endpoints in Wordpress rest api

I am creating a REACT app that uses wordpress as a backend through the rest API. I am using the Simple-JWT-Login plugin to handle the register, login, authentication, and it works perfectly. I...