Nginx Proxy Manager and 2FA

Hi,
we are using VaultWarden under Nginx Proxy Manager, and it works correctly, unless we activate 2FA

With 2FA, each time someone try to connect, a red popup saying “An unexpected error occurred” appears.

In the browser console :

In the server log:

[2024-06-25 10:58:47.185][request][INFO] POST /identity/accounts/prelogin
[2024-06-25 10:58:47.186][response][INFO] (prelogin) POST /identity/accounts/prelogin => 200 OK
[2024-06-25 10:58:47.607][request][INFO] POST /identity/connect/token
[2024-06-25 10:58:47.680][error][ERROR] 2FA token not provided
[2024-06-25 10:58:47.680][response][INFO] (login) POST /identity/connect/token => 400 Bad Request
[2024-06-25 10:58:55.866][request][INFO] POST /identity/accounts/prelogin
[2024-06-25 10:58:55.866][response][INFO] (prelogin) POST /identity/accounts/prelogin => 200 OK
[2024-06-25 10:58:56.277][request][INFO] POST /identity/connect/token
[2024-06-25 10:58:56.353][error][ERROR] 2FA token not provided
[2024-06-25 10:58:56.353][response][INFO] (login) POST /identity/connect/token => 400 Bad Request

Don’t know to repair that !
Is there a custom config to put in NPM ?