You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting --username in kubeconfig, there is no Browser opening keycloak for asking username and password, just asking in terminale directly. Thats very nice. When the user has mfa configured in keycloak, he has to login with otp. But then the login with the username option in kubeconfig does not work anymore (error see next line). Is there an option, so that the otp will be asked on bash?
error: {"error":"invalid_grant","error_description":"Invalid user credentials"}
To reproduce
first kubectl command of the day e.g. kubectl get pods
kubeconfig has configured `--username´
Browser is not opening, you just type password in bash console
Your environment
OS: fedora 37
kubelogin version: kubelogin version v1.27.0
kubectl version: e.g. v1.27
OpenID Connect provider: keycloak 21
The text was updated successfully, but these errors were encountered:
Describe the question
When setting
--username
in kubeconfig, there is no Browser opening keycloak for asking username and password, just asking in terminale directly. Thats very nice. When the user has mfa configured in keycloak, he has to login with otp. But then the login with theusername
option in kubeconfig does not work anymore (error see next line). Is there an option, so that the otp will be asked on bash?error: {"error":"invalid_grant","error_description":"Invalid user credentials"}
To reproduce
kubectl get pods
Your environment
The text was updated successfully, but these errors were encountered: