{"action":"created","issue":{"url":"https://api.github.com/repos/rackspace/gophercloud/issues/528","repository_url":"https://api.github.com/repos/rackspace/gophercloud","labels_url":"https://api.github.com/repos/rackspace/gophercloud/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/rackspace/gophercloud/issues/528/comments","events_url":"https://api.github.com/repos/rackspace/gophercloud/issues/528/events","html_url":"https://github.com/rackspace/gophercloud/pull/528","id":130843366,"number":528,"title":"Fix keystone v3 token auth","user":{"login":"orivej","id":101514,"avatar_url":"https://avatars.githubusercontent.com/u/101514?v=3","gravatar_id":"","url":"https://api.github.com/users/orivej","html_url":"https://github.com/orivej","followers_url":"https://api.github.com/users/orivej/followers","following_url":"https://api.github.com/users/orivej/following{/other_user}","gists_url":"https://api.github.com/users/orivej/gists{/gist_id}","starred_url":"https://api.github.com/users/orivej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orivej/subscriptions","organizations_url":"https://api.github.com/users/orivej/orgs","repos_url":"https://api.github.com/users/orivej/repos","events_url":"https://api.github.com/users/orivej/events{/privacy}","received_events_url":"https://api.github.com/users/orivej/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-02T22:42:31Z","updated_at":"2016-04-15T15:34:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rackspace/gophercloud/pulls/528","html_url":"https://github.com/rackspace/gophercloud/pull/528","diff_url":"https://github.com/rackspace/gophercloud/pull/528.diff","patch_url":"https://github.com/rackspace/gophercloud/pull/528.patch"},"body":"Currently keystone v3 client ignores TokenID in AuthOptions and the code like this\r\n```go\r\nprovider, err := openstack.AuthenticatedClient(gophercloud.AuthOptions{\r\n\tIdentityEndpoint: \"https://.../v3/\",\r\n\tTokenID:          \"abcd...1234\",\r\n})\r\n```\r\nfails with an error `You must provide a password to authenticate` because `options.TokenID` is never checked. (keystone v2 client checks it in `ToTokenCreateMap`.)  This patch lets authentication succeed.\r\n\r\nI am new to the codebase and do not understand if this issue should be fixed like this, and I would also appreciate help in writing a test."},"comment":{"url":"https://api.github.com/repos/rackspace/gophercloud/issues/comments/210509143","html_url":"https://github.com/rackspace/gophercloud/pull/528#issuecomment-210509143","issue_url":"https://api.github.com/repos/rackspace/gophercloud/issues/528","id":210509143,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T15:34:27Z","updated_at":"2016-04-15T15:34:27Z","body":"\n[![Coverage Status](https://coveralls.io/builds/5804246/badge)](https://coveralls.io/builds/5804246)\n\nCoverage decreased (-0.01%) to 80.162% when pulling **43ade9114750ab34d32ffa3557f676abe7a9417b on orivej:openstack-identity-v3-pass-tokenid** into **231898eeeb3f1efabaf953757babcdb84298fbe8 on rackspace:master**.\n"}}