Date
1 - 4 of 4
apps logs
Corentin Dupont <corentin.dupont@...>
Still struggling...
toggle quoted message
Show quoted text
I have already an account with CF, so I tried: $ uaac token client get Client ID: admin Client secret: ************ Successfully fetched token via client credentials grant. Target: http://uaa.172.16.0.191.xip.io Context: admin, from client admin Then: $ uaac token decode Note: no key given to validate token signature jti: 908139b9-28be-4490-9ffd-a0e6b2f1XXXX sub: admin authorities: password.write scim.write clients.write clients.read scim.read uaa.admin clients.secret scope: scim.read uaa.admin password.write scim.write clients.write clients.read clients.secret client_id: admin cid: admin azp: admin grant_type: client_credentials rev_sig: 78635a00 iat: 1455113000 exp: 1455156200 iss: https://uaa.172.16.0.191.xip.io/oauth/token zid: uaa aud: admin scim uaa password clients There is nothing looking like the "Authorization: bearer" code from the cURL command below... Should I use the "jti" field? Thanks a lot Hristo!! Corentin On Wed, Feb 10, 2016 at 12:38 AM, Hristo Iliev <hsiliev(a)gmail.com> wrote:
You should create a client with the proper permissions/authorities. For --
Corentin Dupont Researcher @ Create-Netwww.corentindupont.info |
|
Warren Fernandes
You can obtain the "Authorization: bearer" token using the cf cli.
cf login cf oauth-token |
|
Siva Balan <mailsiva@...>
If you are trying to get the actual JWT token of your current UAA instance
targeted by UAAC, you can try: $uaac context On Wed, Feb 10, 2016 at 6:10 AM, Corentin Dupont < corentin.dupont(a)create-net.org> wrote: Still struggling... -- http://www.twitter.com/sivabalans |
|
Corentin Dupont <corentin.dupont@...>
Thanks, it worked!
however the results (attached) does not show the precise start time of individual containers... For example the app "bend" goes directly from 16 instances to 26. I wanted to study the scale-up operation precisely, i.e. see the start time of each container. Any way how to do that? On Wed, Feb 10, 2016 at 6:22 PM, Warren Fernandes <wfernandes(a)pivotal.io> wrote: You can obtain the "Authorization: bearer" token using the cf cli. -- Corentin Dupont Researcher @ Create-Netwww.corentindupont.info |
|