Vault CLI OIDC login on server without desktop gui environment

Hello,

I’m trying to implement vault OIDC with Microsoft ADFs following Azure Active Directory with OIDC Auth Method and External Groups | Vault - HashiCorp Learn

When trying to connect with vault login -method=oidc, it wants to open a browser.
Is there a way to strictly test it in command line ? link and curl are installed on the server maybe a strict command line browser could be sufficient.

Is there any other way to test it in command line?

Vault version used is ver V1.11.3

Best regards,

David

The whole purpose and design of vault login -method=oidc is to log in using a browser - therefore it is not possible to test it without a browser.

Thank you maxb.

Best regards,

David