trying to use vault login -method=oidc for keycloak but it doesn’t seem to work.
vault login -method=oidc -path=keycloak role=default
Error authenticating: Unable to authorize role “default” with redirect_uri
“http://localhost:8250/oidc/callback”. Check Vault logs for more information.
Tried with overrides
vault login -method=oidc -path=keycloak role=default username=jeff@domain.com callbackhost=domain.com callbackport=443 callbackmethod=https listenaddress=domain.com
Error authenticating: Unable to authorize role “default” with redirect_uri “https:/domain.com:443/oidc/callback”. Check Vault logs for more information.
2022-06-08T23:36:50.665Z [WARN] auth.oidc.auth_oidc_7644d9f1: unauthorized redirect_uri: redirect_uri=https://domain.com:443/oidc/callback
2022-06-08T23:37:36.816Z [WARN] auth.oidc.auth_oidc_7644d9f1: unauthorized redirect_uri: redirect_uri=http://domain.com:8250/oidc/callback
unauthorized redirect_uri: redirect_uri=http://localhost:8250/oidc/callback
In keycloak I have set the vaild redirect
http://localhost:8250/oidc/*
https://domain.com/oidc/*