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
How to set --browser-command with parameters for the browser?
To reproduce
Setting --browser-command=google-chrome works fine,
however passing parameters to it is not working e.g. google-chrome --profile-directory='Profile 1'
error: could not open the browser: exec: "google-chrome --profile-directory='Profile 1'": executable file not found in $PATH
Please visit the following URL in your browser manually: http://localhost:8000
Your environment
OS: Pop os
kubelogin version: v1.27.0
kubectl version: v1.26.0
The text was updated successfully, but these errors were encountered:
Same problem on macOS using kubelogin version v1.30.1. Here's a dummy example:
kubectl oidc-login setup --oidc-issuer-url https://accounts.google.com --oidc-client-id REDACTED --oidc-client-secret REDACTED --browser-command="/Applications/Firefox.app/Contents/MacOS/firefox --new-window"
authentication in progress...
error: could not open the browser: fork/exec /Applications/Firefox.app/Contents/MacOS/firefox --new-window: no such file or directory
while /Applications/Firefox.app/Contents/MacOS/firefox --new-window works just fine from the same terminal.
Describe the question
How to set
--browser-command
with parameters for the browser?To reproduce
Setting
--browser-command=google-chrome
works fine,however passing parameters to it is not working e.g.
google-chrome --profile-directory='Profile 1'
Your environment
The text was updated successfully, but these errors were encountered: