-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to authenicate via OIDC with console browser #18092
Comments
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
I assume that the goal is to interact with the kyma cluster in the automated way (script, ci/cd). We are working on alternative solution that you can get kubeconfig without OIDC plugin: |
Description
Kyma Version: 2.17.1
Browser Name: w3m
Browser Version:
w3m version w3m/0.5.3+git20210102, options lang=en,m17n,image,color,ansi-color,mouse,gpm,menu,cookie,ssl,ssl-verify,external-uri-loader,w3mmailer,nntp,gopher,ipv6,alarm,mark,migemo
Operating System:
Ubuntu 22.04.3 LTS
We are trying to perform kubectl operations against a Kyma cluster using the kubeconfig provided by the BTP cockpit. As we are in a no GUI environment we are using the w3m console browser. In order to use this browser we have added the
--browser
parameter to the oidc cofig section of the kubeconfig as can be seen below:We are running
kubectl get ns
with this kubeconfig. The browser opens but gets stuck with the message:Your authentication request has been forwarded to the target system for processing.
Expected result
We are prompted for credentials. Upon entering valid credentials we can see kubectl output
Actual result
The browser opens but gets stuck with the message:
Your authentication request has been forwarded to the target system for processing.
Steps to reproduce
Run
KUBECONFIG=kyma-kubeconfig.yaml kubectl get ns
, wherekyma-kubeconfig.yaml
is the yaml above.Troubleshooting
We have trided the same command with several browsers with no success:
Here is the w3m request log:
@danail-branekov
The text was updated successfully, but these errors were encountered: