{"action":"created","issue":{"url":"https://api.github.com/repos/opf/openproject/issues/2978","labels_url":"https://api.github.com/repos/opf/openproject/issues/2978/labels{/name}","comments_url":"https://api.github.com/repos/opf/openproject/issues/2978/comments","events_url":"https://api.github.com/repos/opf/openproject/issues/2978/events","html_url":"https://github.com/opf/openproject/pull/2978","id":75137327,"number":2978,"title":"Feature: basic auth for API v3","user":{"login":"machisuji","id":158871,"avatar_url":"https://avatars.githubusercontent.com/u/158871?v=3","gravatar_id":"","url":"https://api.github.com/users/machisuji","html_url":"https://github.com/machisuji","followers_url":"https://api.github.com/users/machisuji/followers","following_url":"https://api.github.com/users/machisuji/following{/other_user}","gists_url":"https://api.github.com/users/machisuji/gists{/gist_id}","starred_url":"https://api.github.com/users/machisuji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machisuji/subscriptions","organizations_url":"https://api.github.com/users/machisuji/orgs","repos_url":"https://api.github.com/users/machisuji/repos","events_url":"https://api.github.com/users/machisuji/events{/privacy}","received_events_url":"https://api.github.com/users/machisuji/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opf/openproject/labels/feature","name":"feature","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"machisuji","id":158871,"avatar_url":"https://avatars.githubusercontent.com/u/158871?v=3","gravatar_id":"","url":"https://api.github.com/users/machisuji","html_url":"https://github.com/machisuji","followers_url":"https://api.github.com/users/machisuji/followers","following_url":"https://api.github.com/users/machisuji/following{/other_user}","gists_url":"https://api.github.com/users/machisuji/gists{/gist_id}","starred_url":"https://api.github.com/users/machisuji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machisuji/subscriptions","organizations_url":"https://api.github.com/users/machisuji/orgs","repos_url":"https://api.github.com/users/machisuji/repos","events_url":"https://api.github.com/users/machisuji/events{/privacy}","received_events_url":"https://api.github.com/users/machisuji/received_events","type":"User","site_admin":false},"milestone":null,"comments":20,"created_at":"2015-05-11T08:34:06Z","updated_at":"2015-05-25T12:14:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opf/openproject/pulls/2978","html_url":"https://github.com/opf/openproject/pull/2978","diff_url":"https://github.com/opf/openproject/pull/2978.diff","patch_url":"https://github.com/opf/openproject/pull/2978.patch"},"body":"WP [#19294](https://community.openproject.org/work_packages/19294)"},"comment":{"url":"https://api.github.com/repos/opf/openproject/issues/comments/105223674","html_url":"https://github.com/opf/openproject/pull/2978#issuecomment-105223674","issue_url":"https://api.github.com/repos/opf/openproject/issues/2978","id":105223674,"user":{"login":"oliverguenther","id":459462,"avatar_url":"https://avatars.githubusercontent.com/u/459462?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverguenther","html_url":"https://github.com/oliverguenther","followers_url":"https://api.github.com/users/oliverguenther/followers","following_url":"https://api.github.com/users/oliverguenther/following{/other_user}","gists_url":"https://api.github.com/users/oliverguenther/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverguenther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverguenther/subscriptions","organizations_url":"https://api.github.com/users/oliverguenther/orgs","repos_url":"https://api.github.com/users/oliverguenther/repos","events_url":"https://api.github.com/users/oliverguenther/events{/privacy}","received_events_url":"https://api.github.com/users/oliverguenther/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T12:14:52Z","updated_at":"2015-05-25T12:14:52Z","body":"I've just skimmed through the changes I've missed and tested the feature.\r\nTwo remaining remarks concerning GlobalBasicAuth: \r\n\r\n1. Is that something that should be contained in the exemplary configuration.yml (commented, as in the class docstring)\r\n2. Due to the comparison in `GlobalBasicAuth#authenticate_user`, number-only passwords have to be enclosed in quotes, otherwise `==` will fail. (Found this as I simply copy-pasted that part from the docstring).  `configuration[:password].to_s` in `self.password` would fix it.\r\n\r\nThis works really well otherwise. :+1: :+1:   from me."}}