We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5017711 commit 81af3edCopy full SHA for 81af3ed
README.md
@@ -858,6 +858,7 @@ The Wordpress authentication middleware defines three routes:
858
859
A user can be logged in by sending it's username and password to the login endpoint (in JSON format).
860
The user can be logged out by sending a POST request with an empty body to the logout endpoint.
861
+You need to specify the Wordpress installation directory using the "wpAuth.wpDirectory" configuration parameter.
862
The middleware calls "wp-load.php" this allows you to use Wordpress functions in the authorization middleware, like:
863
864
- wp_get_current_user()
0 commit comments