Vault CLI login with OIDC auth method

Hi Folks,

Does anybody know how to log into vault using OIDC CLI login?

I followed following URL “”, Web login works fine but CLI redirect to localhost,


I tried to replace localhost with vault ip or hostname but its failing.

Best Regards,

Srikant Patil