Re: Trouble enabling diego ssh in cf-release:222 diego:0.1437
Matthew Sykes <matthew.sykes@...>
That's not the request that the plugin is making to get the token. We're
toggle quoted message
Show quoted text
using the API that was created for us [1]. If you use straight curl with something like this, what does the flow really look like? Are there any errors in the uaa's logs? $ curl -v -k -H "Authorization: $(cf oauth-token | tail -1)" ' https://uaa.bosh-lite.com/oauth/authorize?response_type=code&grant_type=authorization_code&client_id=ssh-proxy ' The UAA should respond with a 302 and a Location header that includes a code parameter. If not, can you use a jwt decoder against your bearer token and verify that there's a `uaa.user` scope in the token? [1]: https://github.com/cloudfoundry/uaa/blob/master/docs/UAA-APIs.rst#api-authorization-requests-code-get-oauth-authorize-non-standard-oauth-authorize On Wed, Oct 28, 2015 at 8:56 PM, Mike Youngstrom <youngm(a)gmail.com> wrote:
In case it helps this is the CF_TRACE of the UAA call that the ssh plugin --
Matthew Sykes matthew.sykes(a)gmail.com |
|