User Data Fields For JWT Authentication
WordPress is a good content mangement system for building websites, but it will be better if you build like mobile apps, With the wordpress rest api you can create posts, edit posts, view posts, Users, Uploading Media…
Consider an alternative
User Data Fields For JWT Authen… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites, is rated 5/5 and was last updated 4 years ago, and scores 31/100 on our health check.
- Small user base (40+ active installs)
- Very few reviews so far
- No update in 4 years
- Only tested up to WordPress 6.0 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where User Data Fields For JWT Au… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| json web authentication | >100 |
| jwt | >100 |
| wp-api | >100 |
| wp-json | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 3 reviews
About User Data Fields For JWT Authentication
From the official readme · v1.2.1Description
WordPress is a good content mangement system for building websites, but it will be better if you build like mobile apps,
With the wordpress rest api you can create posts, edit posts, view posts, Users, Uploading Media etc…
but the problem with the wordpress rest api it does not provide any authentication methods for third party application like mobile apps
The Jwt Plugin on wordpress.org does provide that
and this plugin is just a addon for that plugin
So this plugin is useful if you don’t want to make another request to fetch user data like Id etc..
because you have to get the id of the user in ordet to get all data
It really simple plugin
it writed with 50 lines of code, the size of the plugin is 3Kb
Note: This Is Plugin For
JWT Authentication for WP REST API Plugin
so if the jwt authentication plugin is not installed
this plugin will not add the fields to it endpoints
and the fields will be added only if the token is getted successfully
Example request (before install the plugin):
{
“token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xOTIuMTY4LjAuMTgyIiwiaWF0IjoxNjE0MDg3NDQ2LCJuYmYiOjE2MTQwODc0NDYsImV4cCI6MTYxNDY5MjI0NiwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.KeAUc7PiTne0_PThsSAWo1ruvl2Ocu-fbCn2jG7zkoE”,
“user_email”: “example@example.com”,
“user_nicename”: “admin”,
“user_display_name”: “admin”
}
Example response (after install the plugin):
{
“token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xOTIuMTY4LjAuMTgyIiwiaWF0IjoxNjE0MDg2NjQyLCJuYmYiOjE2MTQwODY2NDIsImV4cCI6MTYxNDY5MTQ0MiwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.nyDOICdQcZKbWZo2kQRp_eLBkuxjnK_rpxs-HJREyCg”,
“user_email”: “example@example.com”,
“user_nicename”: “admin”,
“user_display_name”: “admin”,
“user_id”: 1,
“user_login”: “admin”,
“user_first_name”: “sfd”,
“user_last_name”: “”,
“user_roles”: [
“administrator”
],
“user_role”: “administrator”,
“user_registered”: “2021-02-17 09:21:29”,
“user_url”: “http://localhost”,
“user_status”: “0”,
“user_avatar_url”: “https://secure.gravatar.com/avatar/22feea4605ac5b7163eac439b5241034?s=96&d=mm&r=g”,
“user_activation_key”: “”
}
Of course you can add the code of this plugin to your Theme,
but this is not recommened because when you change the theme or update it
the changes will revert back, you can create child theme for that
but instead you can just install this simple plugin
Don’t forget to setup (JwtAuthenticatonForWordpress)[https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/]
Can Add User Data Fields To Validate Token Endpoint ?
This plugin can also add user data fields to validate token endpoint,
Unfortunately, the jwt extension does not support using the filter for validate_token function,
So You Will Need To Modify Some Codes Inside Jwt Plugin Codes
Go To \wp-content\plugins\jwt-authentication-for-wp-rest-api\public\class-jwt-auth-public.php
And At The End Of Function That Named validate_token
In Line 302
Edit This Code
From :
/** If the output is true return an answer to the request to show it */
return array(
‘code’ => ‘jwt_auth_valid_token’,
‘data’ => array(
‘status’ => 200,
),
);
To :
$value = array(
‘code’ => ‘jwt_auth_valid_token’,
‘data’ => array(
‘status’ => 200,
)
);
/** If the output is true return an answer to the request to show it */
return apply_filters(‘jwt_auth_validate_token’, $value, $token);
Now you have done,
the plugin should be able to add new values by adding a filter
Note :
If you updated the jwt plugin,
you should again edit the code because it will be removed
REQUIREMENTS
Frequently asked questions
How To Use This Plugin ?
Just install it to your wordpress site, and no another action required, but if you want to add the user fields to validate token endpoint, please make sure that you have edit the jwt plugin code, Please read description for more information
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best User Data Fields For JWT Auth… alternatives
All json web authentication plugins →FAQ
User Data Fields For JWT Authentica…: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 3, 2026
Is User Data Fields For JWT Authen… free?
Yes. User Data Fields For JWT Authen… is free to download and use from the official WordPress.org plugin directory.
Is User Data Fields For JWT Authen… safe to use in 2026?
User Data Fields For JWT Authen… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites, is rated 5/5 and was last updated 4 years ago, and scores 31/100 on our health check.
How many websites use User Data Fields For JWT Authen…?
User Data Fields For JWT Authen… is active on 40+ WordPress websites and has been downloaded 2,667 times since it launched in February 2021. It was downloaded 69 times in the last 30 days.
Does User Data Fields For JWT Authen… work with WordPress 7.1?
User Data Fields For JWT Authen… is officially tested up to WordPress 6.0.16, while the latest release is 7.1.2. It may still work, but try it on a staging site first.
When was User Data Fields For JWT Authen… last updated?
The latest version, 1.2.1, was released on August 1, 2022 (4 years ago).
Who makes User Data Fields For JWT Authen…?
User Data Fields For JWT Authen… is developed and maintained by Ahmed Hnewa.
What are the best alternatives to User Data Fields For JWT Authen…?
The most popular alternatives to User Data Fields For JWT Authen… are JWT Authentication for WP R… (60K+ installs) and GS JWT Authentication for W… (10+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card