oxidized icon indicating copy to clipboard operation
oxidized copied to clipboard

Multi step HTTP authentication

Open xeebuc opened this issue 10 months ago • 3 comments

Hello,

Do you think it could be possible to add a multi step auth for the HTTP input ? What I mean by that is :

  1. HTTP basic AUTH
    • curl -v -X POST -u 'USER:PASSWORD' -k https://fmc.REDACTED.TLD/api/fmc_platform/v1/auth/generatetoken
  2. Server return Token access
  3. HTTP request to the API using that token previsously generated
    • curl -H "Accept: application/json" -H "x-auth-access-token:TOKEN" --output backup.tar.gz -k https://fmc.REDACTED.TLD/api/fmc_config/v1/domain/DOMAIN_ID/backup/downloadbackup/manager

The Rest API of the Cisco FMC work that way and the token is only valid for 30min.

https://www.cisco.com/c/en/us/td/docs/security/firepower/740/api/REST/secure_firewall_management_center_rest_api_quick_start_guide_740/Connecting_With_A_Client.html

Thanks

xeebuc avatar Feb 25 '25 15:02 xeebuc

I second this request. There are other applications out there as well that use this type of method to receive the API Token

bmccreary23 avatar Mar 11 '25 20:03 bmccreary23

This issue is stale because it has been open 90 days with no activity.

github-actions[bot] avatar Jul 04 '25 02:07 github-actions[bot]

Will be solved by PR #3677

robertcheramy avatar Dec 03 '25 13:12 robertcheramy