接下来是this问题,
我正在使用here中的Spring Boot MitreID OIDC应用程序。运行正常

我正在尝试使用simple-web-app访问它。 Simple-web-app现在可以看到OIDC应用程序。即使我已登录OIDC应用程序,它仍然要求用户/密码。当我输入这些信息时,现在出现以下错误。我找不到任何帮助。有人知道吗

2018-12-19 14:15:44.641  INFO 7632 --- [nio-8080-exec-1]
o.m.o.c.web.AuthenticationTimeStamper    :
Successful Authentication of admin at Wed Dec 19 14:15:44 GMT 2018


2018-12-19 14:15:45.110 ERROR 7632 --- [nio-8080-exec-2] org.thymeleaf.TemplateEngine
   : [THYMELEAF][http-nio-8080-exec-2] Exception processing template "approve": Exception
evaluating SpringEL expression: " scope.structured " (approve:146)


2018-12-19 14:15:45.117 ERROR 7632 --- [nio-8080-exec-2] o.a.c.c.C.[.[.[/].
[dispatcherServlet]    : Servlet.service() for servlet dispatcherServlet threw exception
org.springframework.expression.spel.SpelEvaluationException: EL1008E:
 Property or field 'structured' cannot be found on object of type
'org.mitre.oauth2.model.SystemScope' - maybe not public?

最佳答案

我认为您在最新的mitreid示例应用程序(就mitreid而言一直处于前沿)与2年前的mitreid服务器的spring boot fork之间存在不兼容。例如。 SystemScope的模型在米特瑞德(Mitreid)主项目https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/commit/b17a7f43ae9a94592132a0336248631fe5914508上已更改

您可能会遇到很多这样的问题,因为spring-boot叉没有保持最新状态

07-23 09:00