jenkins-control-plugin
jenkins-control-plugin copied to clipboard
login fails with OpenShift login redirect
My jenkins instance is running as a pod in OpenShift, and login is done using OpenShift credentials. But login fails with this plugin.
Is there a way to configure plugin to authenticate through OpenShift?
Have not tested it yet. Is your server available for test. If not I have to create a own to test
My server is in an enterprise environment, so a bit limited..
Have you tried to use an jenkins api token for login? Or get you some error message during login?
Do you also use this plugin: https://github.com/openshift/jenkins-openshift-login-plugin
I will try to setup a test these days
I've created Jenkins api token, but I can't input it, as I'm being redirected to Openshift login page. inputting api token in your plugin password field still yields 'bad credentials' (and no debug info).
Do you also use this plugin: https://github.com/openshift/jenkins-openshift-login-plugin
Yes, I think this is the correct plugin, but not 100% sure what is being used (I haven't been involved in the infrastructure setup.
Thanks, will wait for your results.
OAuth Token are currently not implemented
Maybe in some of the next releases
Similar like this: #50
Could you try to use API token as Password.
In my setup it works (only PyCharm not works correctly)
Could you try to use API token as Password.
In my setup it works (only PyCharm not works correctly)
Ok, it worked. P.S. It's required to add '-edit-view' to provided name, e.g. myname-edit-view
works with latest release:
Test instance: https://jenkins-mcmics-dev.apps.sandbox-m3.1530.p1.openshiftapps.com/