Hi David,
admin:admin is the default admin use who can login in cf with "cf login".
cf:cf is a new created user by admin. It also can login in cf with "cf login".
I am confused as I did not find "oauth.login" from the scope of the two users. Could you let me know how to assign "oauth.login" to the user? if the command of getting token is wrong?
ubuntu@ubuntu14:~/bosh-workspace/deployments/apps/uaa$ curl -k -H
'AUTHORIZATION: Basic Y2Y6' -d
"username=cf&password=cf&grant_type=password"
https://uaa.xxx.xip.io/oauth/token"scope":"cloud_controller.admin
cloud_controller.read cloud_controller.write openid password.write
scim.read scim.userids scim.write
ubuntu@ubuntu14:~/bosh-workspace/deployments/apps/uaa$ curl -k -H 'AUTHORIZATION: Basic Y2Y6' -d "username=cf&password=cf&grant_type=password"
https://uaa.xxx.xip.io/oauth/token"scope":"cloud_controller.read cloud_controller.write openid password.write scim.userids"