Invalid parameter value for redirect_uri: Missing scheme

生来就可爱ヽ(ⅴ<●) 提交于 2021-01-27 22:54:40

问题


I have hosted Jenkins on Ubuntu 14.04 server. Jenkins version is 2.46. I am applying Google authentication on Jenkins. For this I am using Google Login Plugin of Jenkins with version 1.3. I have created Client ID and Secret ID through Google Developer Console. I created it using this tutorial. So while creating credentials, I entered following things:

Name: Web Client 1

Authorized JavaScript origins: http://jenkins.******.com

Authorized redirect URIs: http://jenkins.******.com/securityRealm/finishLogin

After that I entered Client ID and Secret ID in Social security settings of Jenkins. Log in option appears successfully on Jenkins home page. But when I click on Login option following error appears:

  1. That’s an error.

Error: invalid_request

Invalid parameter value for redirect_uri: Missing scheme: jenkins.******.com/securityRealm/finishLogin

Please help!


回答1:


After lots of debugging, I found the problem. The problem was, In Manage Jenkins ---> Configure System, for Jenkis URL, I was having value jenkins.******.com. I replaced it with http://jenkisn.******.com. And problem got solved.



来源:https://stackoverflow.com/questions/42386598/invalid-parameter-value-for-redirect-uri-missing-scheme

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!