https://github.com/dbackowski/wordpress_external_auth
Wordpress external authentication plugin.
https://github.com/dbackowski/wordpress_external_auth
Last synced: 5 months ago
JSON representation
Wordpress external authentication plugin.
- Host: GitHub
- URL: https://github.com/dbackowski/wordpress_external_auth
- Owner: dbackowski
- Created: 2014-05-21T15:30:38.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-27T15:34:25.000Z (about 12 years ago)
- Last Synced: 2024-12-29T12:40:01.821Z (over 1 year ago)
- Language: PHP
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wordpress external authentication plugin
Install this into your wordpress plugins/directory.
## Configuration
* URL - authentication url
* Login param name - param name for login
* Password param name - param name for password
**Example**
URL: http://localhost
Login param name: login
Password param name: password
This will make POST request when user log in to http://localhost with POST DATA: login = user provided login, password = user provided password
## Authentication backend
Authentication backend should return JSON response in format:
**Authentication pass**
{"status":1,"first_name":"John","last_name":"Doe","email":"john.doe@bar.com","login":"john_doe"}
**Authentication fail**
{"status":0}
Copyright (c) 2014 Damian Baćkowski, released under the MIT license