uaa icon indicating copy to clipboard operation
uaa copied to clipboard

UAA - Client credentials in request body

Open sivabalans opened this issue 11 years ago • 3 comments

RFC 6749 states the following in section 2.3.1 - https://tools.ietf.org/html/rfc6749#section-2.3.1:

Alternatively, the authorization server MAY support including the
   client credentials in the request-body using the following
   parameters:

   client_id
         REQUIRED.  The client identifier issued to the client during
         the registration process described by Section 2.2.

   client_secret
         REQUIRED.  The client secret.  The client MAY omit the
         parameter if the client secret is an empty string.

Does CF UAA support this mechanism of passing client_id and client_secret? I tried passing the client credentials as shown below in Postman and I get an Unauthorized error: image

Whereas if I pass the client credentials as "Authorization" header, it works fine. Can you confirm?

sivabalans avatar Sep 09 '15 20:09 sivabalans

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/103038306.

cf-gitbot avatar Sep 09 '15 20:09 cf-gitbot

Correct, we have not yet implemented the alternate authentication method.

fhanik avatar Sep 09 '15 21:09 fhanik

Thanks for the update.

sivabalans avatar Sep 09 '15 21:09 sivabalans