> @@ -32,6 +32,8 @@ > > public static final String PASSWORD_CREDENTIALS = "passwordCredentials"; > > + public static final String TOKEN_CREDENTIALS = "token";
In that case I should make changes to `BindAuthToJsonPayload` because this value is used to create the `token` JSONt field. When using `passwordCredentials` the request to openstack identity is translated to: ``` { "auth": { "tenantName": "demo", "passwordCredentials": { "username": "demo", "password": "devstack" } } } ``` while with token credentials it should translate to ``` { "auth": { "tenantName": "demo", "token": { "id": "cbc36478b0bd8e67e89469c7749d4127" } } } ``` --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/433/files#r17381288