Announcement Announcement Module
Collapse
No announcement yet.
Error creating bean with name 'authorizationEndpoint' Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error creating bean with name 'authorizationEndpoint'

    We are using spring-oauth2 1.0.0.BUILD-SNAPSHOT with spring security 3.1.0.RELEASE.
    Our configuration is almost identical to the one in sparklr project except that we use our custom implementation of authentication provider, successHandler , and failureHandler. Also we don't use <mvc:annotation-driven> , instead we use AnnotationHandlerMapping.
    During spring context initialization we get the following exception :
    Error creating bean with name 'authorizationEndpoint'
    java.lang.IllegalStateException : ClientDetailService must be provided.

  • #2
    Stupid question: did you inject a ClientDetailsService into the endpoint (it's the client-details-service-ref="..." attribute in the <authorization-server/> element of the namespace)? Maybe you could post your configuration?

    Comment


    • #3
      I think earlier we got the same problem, migrating from M3 to M5.
      We had a config nearly identical to the one in sparklr2 but we got the same error. Unfortunately we hadn't solved that yet (due to some deadlines, but we will migrate to M5 ASAP) but doing some discovery in code and debugging i think this is related to our mvc configurations. but as Dave mentioned you could send your whole configuration.

      Comment

      Working...
      X