- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Solved! Go to Solution.
- Labels:
-
FortiGate-VM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
On FNDN for this API call /user/firewall/auth, you only need:
{
"username": "string",
"ip": "string",
"server": "string"
}
Created on ‎01-02-2025 03:35 AM Edited on ‎01-02-2025 03:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @belnea1,
When I compare your API request and API document for auth, your API request is different than mentioned in the document. Can you try to change your request as in the document document?
{ "username": "string", "ip": "string", "server": "string" }
NSE 4-5-6-7 OT Sec - ENT FW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
On FNDN for this API call /user/firewall/auth, you only need:
{
"username": "string",
"ip": "string",
"server": "string"
}
Created on ‎01-02-2025 03:35 AM Edited on ‎01-02-2025 03:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @belnea1,
When I compare your API request and API document for auth, your API request is different than mentioned in the document. Can you try to change your request as in the document document?
{ "username": "string", "ip": "string", "server": "string" }
NSE 4-5-6-7 OT Sec - ENT FW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you both so much for your quick and helpful replies!
