Custom backend / Foxpass password delegation
Delegate Foxpass auth to any server that is accessible from the internet
Go to Foxpass Auth Settings page.
In the "Password authentication delegation" section, select Custom backend from the dropdown.
Set URL to be your authentication server's URL. For example: https://www.example.com/auth. Click "Save".
Foxpass will make a POST request to that endpoint with the username, email, and password of the user provided as parameters.
If the server returns a 200, the user is granted access. If the server returns a 401, the user is denied entry. Any other status code is treated as an unexpected error and the user is denied entry.
curl -X POST -d 'username=aren&[email protected]&password=aren1' https://www.example.com/auth
These requests will come from one of the following IP addresses:
Updated 4 days ago