{"action":"created","issue":{"url":"https://api.github.com/repos/python-gitlab/python-gitlab/issues/315","repository_url":"https://api.github.com/repos/python-gitlab/python-gitlab","labels_url":"https://api.github.com/repos/python-gitlab/python-gitlab/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/python-gitlab/python-gitlab/issues/315/comments","events_url":"https://api.github.com/repos/python-gitlab/python-gitlab/issues/315/events","html_url":"https://github.com/python-gitlab/python-gitlab/issues/315","id":258912227,"number":315,"title":"Error using v4 credential authentication","user":{"login":"d0c-s4vage","id":5090146,"avatar_url":"https://avatars0.githubusercontent.com/u/5090146?v=4","gravatar_id":"","url":"https://api.github.com/users/d0c-s4vage","html_url":"https://github.com/d0c-s4vage","followers_url":"https://api.github.com/users/d0c-s4vage/followers","following_url":"https://api.github.com/users/d0c-s4vage/following{/other_user}","gists_url":"https://api.github.com/users/d0c-s4vage/gists{/gist_id}","starred_url":"https://api.github.com/users/d0c-s4vage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d0c-s4vage/subscriptions","organizations_url":"https://api.github.com/users/d0c-s4vage/orgs","repos_url":"https://api.github.com/users/d0c-s4vage/repos","events_url":"https://api.github.com/users/d0c-s4vage/events{/privacy}","received_events_url":"https://api.github.com/users/d0c-s4vage/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-19T18:05:40Z","updated_at":"2017-09-19T20:45:43Z","closed_at":"2017-09-19T20:45:43Z","author_association":"CONTRIBUTOR","body":"# Problem\r\n\r\nWhen using credential authentication with `api_version=\"4\"` set, an error occurs when calling `client.auth()`:\r\n\r\n# Reproduce\r\n\r\n```python\r\nclient = gitlab.Gitlab(config.host,\r\n                       email=email,\r\n                       password=password,\r\n                       api_version=\"4\")\r\nclient.auth()\r\n```\r\n\r\n# Details\r\n\r\n```\r\nTraceback (most recent call last):\r\n  ...\r\n  File \"repro.py\", line XX, in function\r\n    client.auth()\r\n  File \"/usr/local/lib/python2.7/dist-packages/gitlab/__init__.py\", line 184, in auth\r\n    self._credentials_auth()\r\n  File \"/usr/local/lib/python2.7/dist-packages/gitlab/__init__.py\", line 203, in _credentials_auth\r\n    manager = self._objects.CurrentUserManager()\r\n```"},"comment":{"url":"https://api.github.com/repos/python-gitlab/python-gitlab/issues/comments/330668242","html_url":"https://github.com/python-gitlab/python-gitlab/issues/315#issuecomment-330668242","issue_url":"https://api.github.com/repos/python-gitlab/python-gitlab/issues/315","id":330668242,"user":{"login":"gpocentek","id":1687888,"avatar_url":"https://avatars2.githubusercontent.com/u/1687888?v=4","gravatar_id":"","url":"https://api.github.com/users/gpocentek","html_url":"https://github.com/gpocentek","followers_url":"https://api.github.com/users/gpocentek/followers","following_url":"https://api.github.com/users/gpocentek/following{/other_user}","gists_url":"https://api.github.com/users/gpocentek/gists{/gist_id}","starred_url":"https://api.github.com/users/gpocentek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpocentek/subscriptions","organizations_url":"https://api.github.com/users/gpocentek/orgs","repos_url":"https://api.github.com/users/gpocentek/repos","events_url":"https://api.github.com/users/gpocentek/events{/privacy}","received_events_url":"https://api.github.com/users/gpocentek/received_events","type":"User","site_admin":false},"created_at":"2017-09-19T20:45:43Z","updated_at":"2017-09-19T20:45:43Z","author_association":"COLLABORATOR","body":"Thank you for taking the time to report this problem.\r\n\r\nThis issue has already been addressed in the master branch, it will be available in the next release. See #311 and 89bf53f."}}
{"actor":{"display_login":"gpocentek"}}