Skip to content
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

Feature Request - Follow User Federation Redirection #240

Open
vikas027 opened this issue Jul 18, 2017 · 0 comments
Open

Feature Request - Follow User Federation Redirection #240

vikas027 opened this issue Jul 18, 2017 · 0 comments

Comments

@vikas027
Copy link

vikas027 commented Jul 18, 2017

I have configured Jenkins to authenticate (in my test environment) with Keycloak. following this wiki.

Thus, my Jenkins URL gets redirected to Keycloak URL
Jenkins URL: http://192.168.0.15:8080
Keycloak URL: http://192.168.1.77

Now, when I try to connect Jenkins using my Jenkins credentials, I encounter below error

F, [2017-07-18T23:53:19.872212 #58520] FATAL -- : JenkinsApi::Exceptions::Unauthorized: Invalid credentials are provided.
/usr/local/var/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/jenkins_api_client-1.5.3/lib/jenkins_api_client/client.rb:782:in `handle_exception': Invalid credentials are provided. (JenkinsApi::Exceptions::Unauthorized)
        from /usr/local/var/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/jenkins_api_client-1.5.3/lib/jenkins_api_client/client.rb:377:in `api_get_request'
        from /usr/local/var/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/jenkins_api_client-1.5.3/lib/jenkins_api_client/job.rb:609:in `list_all'
        from abc.rb:23:in `<main>'

It might sound absurd, but is this something which can be handled thru the API client?
If yes, please take this as a feature request. If not, feel free to close the issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants