我試圖得到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" }
配置問題與春季啓動OpenId連接和Gluu
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和引導客戶試圖通過它來獲取很多的選擇,但似乎沒有任何工作。我假設這是一個簡單的修復,但我無法找到任何有用的信息。