This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
JWT TOKEN LOGIN -- Automatically logs a user in a WordPress site with JWT | |
This script allows you to log a user into a WordPress site automatically | |
based on his/her JSON Web Token (JWT). This assumes that you use the | |
following plugin and set it up properly on your WordPress site to enable | |
JWT authentication via REST API. | |
JWT Auth – WordPress JSON Web Token Authentication |