首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Spring Boot OpenId连接和Gluu的配置问题

Spring Boot OpenId连接和Gluu的配置问题
EN

Stack Overflow用户
提问于 2017-05-16 00:08:28
回答 2查看 824关注 0票数 0

我正在试着让一个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和启动客户机中尝试了许多选项,试图解决这个问题,但似乎都不起作用。我假设这是一个简单的修复,但我找不到任何有用的信息。

EN

回答 2

Stack Overflow用户

发布于 2017-05-16 02:16:46

我有一个同事和我一起看过它,我们发现了一个未输入的重定向url。现在我来看下一个问题。

票数 1
EN

Stack Overflow用户

发布于 2020-05-06 18:13:21

在我们的示例中,除了将重定向uri添加到Gluu中的client之外,我们还转到了sector identifier部分,并为特定客户端添加了一个新的重定向登录Uri条目

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43984178

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档