Skip to content

Instantly share code, notes, and snippets.

@fhanik
Created June 11, 2014 18:20
Show Gist options
  • Save fhanik/6d8f03901716158d88d3 to your computer and use it in GitHub Desktop.
Save fhanik/6d8f03901716158d88d3 to your computer and use it in GitHub Desktop.
uaac response
{
"approved_scopes": [],
"auth_request": {
"approvalParameters": {},
"approved": false,
"authorities": [
{
"authority": "uaa.none"
}
],
"authorizationParameters": {
"client_id": "vmc",
"external_scopes": "",
"password": "[PROTECTED]",
"redirect_uri": "https://uaa.cloudfoundry.com/redirect/vmc",
"response_type": "token",
"scope": "cloud_controller.read cloud_controller.write openid password.write",
"source": "credentials",
"state": "9d723fb69ac9d92dac6ae77a4d0cf0ce",
"username": "filip@hanik.com"
},
"clientId": "vmc",
"denied": true,
"redirectUri": "https://uaa.cloudfoundry.com/redirect/vmc",
"resourceIds": [
"openid",
"cloud_controller",
"password"
],
"responseTypes": [
"token"
],
"scope": [
"cloud_controller.read",
"cloud_controller.write",
"openid",
"password.write"
],
"state": "9d723fb69ac9d92dac6ae77a4d0cf0ce"
},
"client": {
"access_token_validity": 604800,
"authorities": [
"uaa.none"
],
"authorized_grant_types": [
"implicit"
],
"client_id": "vmc",
"redirect_uri": [
"https://uaa.cloudfoundry.com/redirect/vmc"
],
"resource_ids": [
"none"
],
"scope": [
"cloud_controller.read",
"cloud_controller.write",
"openid",
"password.write"
]
},
"client_id": "vmc",
"denied_scopes": [],
"message": "To confirm or deny access POST to the following locations with the parameters requested.",
"options": {
"confirm": {
"key": "user_oauth_approval",
"location": "https://uaa.run.pivotal.io/oauth/authorize",
"path": "/oauth/authorize",
"value": "true"
},
"deny": {
"key": "user_oauth_approval",
"location": "https://uaa.run.pivotal.io/oauth/authorize",
"path": "/oauth/authorize",
"value": "false"
}
},
"redirect_uri": "https://uaa.cloudfoundry.com/redirect/vmc",
"scopes": [
{
"code": "scope.openid",
"text": "Access your data with scope 'openid'"
},
{
"code": "scope.password.write",
"text": "Access your 'password' resources with scope 'write'"
},
{
"code": "scope.cloud_controller.read",
"text": "Access your 'cloud_controller' resources with scope 'read'"
},
{
"code": "scope.cloud_controller.write",
"text": "Access your 'cloud_controller' resources with scope 'write'"
}
],
"undecided_scopes": [
{
"code": "scope.openid",
"text": "Access your data with scope 'openid'"
},
{
"code": "scope.password.write",
"text": "Access your 'password' resources with scope 'write'"
},
{
"code": "scope.cloud_controller.read",
"text": "Access your 'cloud_controller' resources with scope 'read'"
},
{
"code": "scope.cloud_controller.write",
"text": "Access your 'cloud_controller' resources with scope 'write'"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment