JSON API Auth
Extends the JSON API Plugin for RESTful user authentication
Sichere Auswahl
Yes — JSON API Auth is a safe, well-maintained plugin to use in 2026. It runs on 600+ sites, is rated 4.7/5 and was last updated 1 week ago, and scores 81/100 on our health check.
- Aktiv entwickelt — letztes Update vor 1 Woche
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (600+ aktive Installationen)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where JSON API Auth stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| API | #21 |
| authenticate user | #5 |
| json api | #1 |
| wordpress user authentication | #63 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 4.7 from 11 reviews
About JSON API Auth
From the official readme · v3.1.3Beschreibung
Important: use RESTful JSON API for new integrations
JSON API Auth is retained for existing sites that still depend on the original JSON API plugin and its cookie-authentication workflow. For a new mobile app, headless site, external service, or AI-assisted integration, install RESTful JSON API instead.
RESTful JSON API provides plugin-issued JWT bearer authentication, requires HTTPS by default for requests that handle passwords or tokens, and includes a broader set of endpoints organized into Core, Posts, User, Respond, and Widgets controllers. Its User controller includes signup, JWT login, token validation, profiles, avatars, password-reset requests, safe user meta, and authenticated comments, while the other controllers expose content, custom post type, taxonomy, media, menu, search, comment, and widget workflows.
Existing JSON API Auth integrations can continue using this plugin. Because JWT bearer tokens replace the legacy cookie format and endpoint paths differ, test your client migration before deactivating the legacy JSON API stack.
JSON API Auth extends the JSON API Plugin to allow RESTful user authentication.
JSON API Plugin, that is required, was closed on August 7, 2019 from WordPress repository. You can download JSON API Plugin from https://github.com/PI-Media/json-api until it is republished and available on WordPress.
Eigenschaften umfassen:
-
Generate Auth Cookie for user authentication
-
Validate Auth Cookie
-
Get Current User Info
For documentation: See ‘Other Notes’ tab above for usage examples.
Credits: http://www.parorrey.com/solutions/json-api-auth/
Installation
First you have to install the JSON API for WordPress Plugin (https://wordpress.org/extend/plugins/json-api/installation/). or You can download JSON API Plugin from https://github.com/PI-Media/json-api
To install JSON API Auth just follow these steps:
-
upload the folder “json-api-auth” to your WordPress plugin folder (/wp-content/plugins)
-
activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer
-
activate the controller through the JSON API menu found in the WordPress admin center (Settings -> JSON API)
Änderungsprotokoll
3.1.3
- Security: Mark every Auth controller response non-cacheable at the application and HTTP layers.
- Security: Require POST for cookie generation, validation, and current-user authentication methods.
- Security: Require JSON API 2.3.1 or later and purge legacy JSON API response transients during the upgrade.
- Security: Accept credentials and authentication cookies only in the POST body, not in URL parameters.
- Security: Remove the public
insecure=coolHTTPS bypass. Local HTTP testing now requires the explicitJSON_API_AUTH_ALLOW_INSECUREconstant. - Improved HTTPS detection for trusted reverse-proxy requests using
X-Forwarded-Proto.
3.1.2
- Tested and confirmed compatible with WordPress 7.1.
- Confirmed the secure Parorrey donation link.
3.1.1
- Added a migration notice recommending the newer RESTful JSON API plugin for new projects.
- Documented its JWT bearer authentication, HTTPS-by-default protection, and broader controller-based endpoint set.
- Added secure WordPress.org and donation links.
3.1.0
- Tested and confirmed working with WordPress 7.0
- Bumped minimum PHP requirement to 7.4
- Replaced deprecated
wp_capabilitiesuser meta key with$user->rolesfor reliable role retrieval - Switched avatar retrieval to
get_avatar_url()(WP 4.2+) with regex fallback, fixing broken avatar URLs in modern WordPress - Added
sanitize_text_field()to POST parameter handling for improved input security - Fixed
isset()check onjson_api->query->cookiein cookie auth hook to avoid PHP notices
3.0.0
- Updated for WordPress version 6.8
2.9.1
- Fixed a bug for generate_auth_cookie, get_currentuserinfo endpoints for avatar
- Updated for WordPress version 6.4.1
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best JSON API Auth alternatives
Alle API-Plugins →Fragen und Antworten
JSON API Auth: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is JSON API Auth free?
Yes. JSON API Auth is free to download and use from the official WordPress.org plugin directory.
Is JSON API Auth safe to use in 2026?
Yes — JSON API Auth is a safe, well-maintained plugin to use in 2026. It runs on 600+ sites, is rated 4.7/5 and was last updated 1 week ago, and scores 81/100 on our health check.
How many websites use JSON API Auth?
JSON API Auth is active on 600+ WordPress websites and has been downloaded 83,466 times since it launched in December 2013. It was downloaded 779 times in the last 30 days.
Does JSON API Auth work with WordPress 7.1?
Yes. The developer has tested JSON API Auth up to WordPress 7.1.5, the latest release. It requires WordPress 3.0.1 or newer.
What PHP version does JSON API Auth need?
JSON API Auth requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was JSON API Auth last updated?
The latest version, 3.1.3, was released on November 19, 2026 (1 week ago).
Who makes JSON API Auth?
JSON API Auth is developed and maintained by Ali Qureshi.
What are the best alternatives to JSON API Auth?
The most popular alternatives to JSON API Auth are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (70K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte



