Try plugin: WP OAuth Server (OAuth Authentication)
We'll create fresh WordPress site with WP OAuth Server (OAuth Authentication) installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Takes ~10 seconds to install.
About WP OAuth Server (OAuth Authentication)
Adds Authentication through OAuth 2. Provides the ability for Single Sign On for websites & Mobile Applications.
Connect your app to WordPress or use SSO to connect multiple websites with the same username and passwords. No 3rd party servers are needed with WP OAuth Server. Everything you need is in this plugin.
Features
WP REST API Authentication. Provides ability to make authorized calls to protected REST API endpoints.
WP REST API Lock Down. Prevent any calls to the REST API unless authorized
Unlimited OAuth 2.0 Clients
Support for Implicit Flow
Built-In Resource Server
Automated Authorization Flow (User does not have to see authorization screen)
Easily Extend/ Modify the Endpoints
OAuth 2.0 PKCE
Modern and Legacy JWT authorization support. OAuth 2.0 JSON Web Token Support
Supported Grant Types
Authentication Code w/Implicit
User Credentials (Pro)
Client Credentials (Pro)
Refresh Token (Pro)
OpenID Connect (Pro)
OpenID Discovery
Public Clients (Pro)
Public Client Proof of Key Exchange (PKCE)
Supports
Connecting any Custom Mobile and Desktop Application to WordPress’s Backend.
Any software or web platform utilizing OAuth 2.0.
Allows RocketChat to use WordPress as a Backend.
Connects Moodle LMS and use WordPress users.
Alexa Skills Authentication
Tribe.so Community OAuth 2 SSO Support
How to Use
Visit https://wp-oauth.com/support/documentation/ for detailed documentation on installing, configuring and using
WordPress OAuth Server.
Licensing
WP OAuth Server is free to use. Please support the project by licensing. You can view more information at
https://wp-oauth.com.
Minimum Requirements
PHP 5.6.4 or greater (latest version recommended)
OpenSSL installed and enabled if you plan on using OpenID Connect
Other Information
NOTE: As of 3.0.0, there are no backward compatibility for any version older than 3.0.0
NOTE: Due to IIS’s inability play nice, WP OAuth Server may work but is very limited for Windows OS.
Support
Support requests should be made by opening a support request at https://wp-oauth.com/support/submit-ticket/.