2018-07-31 04:10:39 |
wangxiyuan |
description |
/v3/auth/tokens POST method for "Password authentication with scoped authorization".
When sets project-scoped with project ID : "default" as following:
{
"auth": {
"identity": {
"methods": [
"password"
],
"password": {
"user": {
"id": "a83947b5fc594f3ca92f1f2f254f6459",
"password": "devstack"
}
}
},
"scope": {
"project": {
"id": "default"
}
}
}
}
It returns:
{
"error": {
"message": "object of type 'NoneType' has no len()",
"code": 400,
"title": "Bad Request"
}
}
This message is unreadable for users. |
/v3/auth/tokens POST method for "Password authentication with scoped authorization".
When sets project-scoped with project ID key but the value is a domain id as following:
{
"auth": {
"identity": {
"methods": [
"password"
],
"password": {
"user": {
"id": "a83947b5fc594f3ca92f1f2f254f6459",
"password": "devstack"
}
}
},
"scope": {
"project": {
"id": "default"
}
}
}
}
It returns:
{
"error": {
"message": "object of type 'NoneType' has no len()",
"code": 400,
"title": "Bad Request"
}
}
This message is unreadable for users. |
|