gpt4 book ai didi

java - Spring Boot OpenId Connect 和 Gluu 的配置问题

转载 作者:行者123 更新时间:2023-12-02 13:10:11 27 4
gpt4 key购买 nike

我正在尝试让 POC 与 Gluu 一起工作。我按照 https://spring.io/guides/tutorials/spring-boot-oauth2/ 上的教程进行操作并让它与 Facebook 一起工作。然后我尝试将其移至 gluu。通过 stackoverflow 上的另一篇文章解决了几个问题,但现在我收到此错误。
{
"error": "invalid_request_redirect_uri",
"error_description": "The redirect_uri in the Authorization Request
does not match any of the Client's pre-registered redirect_uris.",
"state": "RexEdf"
}

application.yml:
security:
oauth2:
client:
clientId: "<my client id>"
clientSecret: <my client secret>
accessTokenUri: https://<gluu server>/oxauth/seam/resource/restv1/oxauth/token
userAuthorizationUri: https://<gluu server>/oxauth/seam/resource/restv1/oxauth/authorize
tokenName: oauth_token
authenticationScheme: form
clientAuthenticationScheme: form
scope: openid
resource:
userInfoUri: https://<gluu server>/oxauth/seam/resource/restv1/oxauth/authorize

我在 gluu 和启动客户端上尝试了很多选项试图解决这个问题,但似乎没有任何效果。我假设这是一个简单的修复,但我无法找到任何有用的信息。

最佳答案

我让一位同事和我一起查看了它,我们发现了一个错误输入的重定向网址。现在我要解决下一个问题了。

关于java - Spring Boot OpenId Connect 和 Gluu 的配置问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43984178/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com