Jenkins Google登录插件重定向URI错误 [英] Jenkins Google Login Plugin Redirect URIs error

查看:412
本文介绍了Jenkins Google登录插件重定向URI错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经配置了Jenkins,并且需要启用Google登录插件.根据插件文档,我正在尝试创建一个Google Client-id.在文档中说,输入"重定向URI ",如下所示.但是,当我在应用程序控制台中输入此代码以生成客户端ID时,Google会说"URL无效"

I have configured the Jenkins and needed to enable Google Login Plugin. As per plugin documentation I'm trying to create a Google Client-id. In the documentation it says enter "Redirect URIs" as follows. But when I enter this in the App console to generate the client id Google says it "Invalid URL"

http://XX.XX.228.XX:8080/securityRealm/finishLogin

当我在浏览器中直接加载此页面时,此错误显示为500状态代码

When I directly loaded this page in the browser this error is shown up with 500 status code

注意:我的网址是公开网址

Note: My url is a public url

推荐答案

Google不允许在授权重定向URI中使用公共IP地址.这可能是导致此异常的原因之一.

Google does not allow public IP addresses in the Authorized Redirect URIs. This might be one of the reasons that cause this exception.

这篇关于Jenkins Google登录插件重定向URI错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆