Skip to content

uaac token

GunSik Choi edited this page Jun 30, 2016 · 3 revisions
  • grant_type: client_credentials
$ uaac token client get portal
$ uaac token decode

Note: no key given to validate token signature

  jti: 67cc5918171f44a5b4adcdac7642ad6d
  sub: portal
  authorities: clients.read scim.userids password.write clients.secret oauth.login clients.write doppler.firehose
      uaa.admin scim.write scim.read
  scope: clients.read scim.userids password.write clients.secret oauth.login clients.write doppler.firehose uaa.admin
      scim.write scim.read
  client_id: portal
  cid: portal
  azp: portal
  grant_type: client_credentials
  rev_sig: 416147db
  iat: 1467244740
  exp: 1467287940
  iss: https://uaa.v236.bosh-lite.com/oauth/token
  zid: uaa
  aud: portal clients scim password oauth doppler uaa
  • grant_type: password
$ uaac token owner get portal cgs1
$ uaac token decode

Note: no key given to validate token signature

  jti: 2dfbc881248e4ef39c5a95f8f75e97d3
  sub: c8e9b7e8-ab2f-461e-94a0-fa2d76c0d74f
  scope: openid uaa.user cloud_controller.read password.write cloud_controller.write
  client_id: portal
  cid: portal
  azp: portal
  grant_type: password
  user_id: c8e9b7e8-ab2f-461e-94a0-fa2d76c0d74f
  origin: uaa
  user_name: cgs1
  email: cgs1
  auth_time: 1467245316
  rev_sig: afc71463
  iat: 1467245316
  exp: 1467288516
  iss: https://uaa.v236.bosh-lite.com/oauth/token
  zid: uaa
  aud: portal openid uaa cloud_controller password

Clone this wiki locally