Solved
Authenticate (local) User through API
Happy new year everyone.
I want to authenticate a user through the Forti API, after the user finishes to authenticate against a 3rd party captive portal.
I figured the API command would be:
https://FORTI-IP/api/v2/monitor/user/firewall/auth?vdom=root
{
"users": [
{
"ip": "10.235.1.50",
"ip_version": "ipv4",
"method": "firewall",
"user_type": "firewall",
"username": "test4"
}
]
}
But I'm getting 424 Failed Dependency.
Unfortunately I don't know what parameter is missing and I do not have access to the developer portal to read the documentation.
FYI
Deauthentication works fine like this:
https://FORTI-IP/api/v2/monitor/user/firewall/deauth?vdom=root
{
"users": [
{
"id": 0,
"ip": "10.235.1.50",
"ip_version": "ip4",
"method": "firewall",
"user_type": "firewall"
}
]
}
