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:
35.168.179.228
18.206.75.69
52.55.180.22
35.153.120.184
To see the updated IP addresses for delegated authentication, you can visit this page:
Delegated Authentication IP Addresses
Updated about 2 months ago