Closed fredtj closed 1 month ago
Hi @fredtj ,
Thank you for bringing this issue to our attention. In FOS 7.4.5, we introduced a new feature to disable token provision via the URL method to enhance authentication security, which may affect API users inherited from previous versions. If you are using token-based authentication, you may need to create a new API user to regenerate the token. For username/password authentication, you can enable the rest-api-key-url-query setting under global settings. I have also reported this to the Ansible team to ensure they incorporate this FOS change. Please let me know if the issue persists.
myfgt # config system global
myfgt (global) # set rest-api-key-url-query enable
myfgt (global) # show
config system global
set hostname "myfgt"
set rest-api-key-url-query enable
set timezone "US/Pacific"
end
myfgt (global) # end
Thanks, Maxx
Hey @MaxxLiu22,
Thanks for the pointers. Was using U/P and didn't want to enable the setting above, so I migrated to a token. Can confirm doing this has corrected the issue and config backups are working again.
Thank you!
fortinet.fortios:2.3.7
A previously working config backup is now failing after upgrading from 7.4.4 to 7.4.5:
Let me know if you need further information, or if you have a workaround.
Regards