I’m trying to integrate Google Authentication via OIDC and currently an issue with CLI authentication.
From the UI, I am able to authenticate with my Google account, however, when I attempt to do the same in the CLI, I’m getting those errors in the log:
auth.oidc.auth_oidc_f2e7c58e: unauthorized redirect_uri: redirect_uri=https://vault.mydomain.com/ui/vault/auth/oidc/oidc/callback
auth.oidc.auth_oidc_f2e7c58e: unauthorized redirect_uri: redirect_uri=http://localhost:8250/oidc/callback
Vault is exposed through Nginx Ingress (Kubernetes setup) thus all the access is through port 443.
I’ve added https://vault.mydomain.com/ui/vault/auth/oidc/oidc/callback to Google setup, but still the same error.
Thanks in advance.