Results 1 to 2 of 2

Thread: FrameworkEndpointHandlerMapping is not registered for password grant type

  1. #1
    Join Date
    Apr 2012
    Posts
    17

    Default FrameworkEndpointHandlerMapping is not registered for password grant type

    Hi,

    after the recent SECOAUTH-273 change I noticed that the TokenEndpoint mapped to "/oauth/token" is not picked up by my application anymore. I debugged the cause to be the class FrameworkEndpointHandlerMapping that does not automatically get registered if the only configured grant type in the authorization server definition is "password".

    As far as I remember the OAuth2-draft for the resource owner password authentication scheme one still needs access to the token endpoint so this may be an unintended behavior. Manually registering an instance of FrameworkEndpointHandlerMapping fixes this issue though.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Yep, that's a bug. Fixed now in master.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •