{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/5512","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/5512/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/5512/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/5512/events","html_url":"https://github.com/nextcloud/server/issues/5512","id":237855057,"number":5512,"title":"No 'Authorization: Bearer' header found.","user":{"login":"Krassmus","id":274604,"avatar_url":"https://avatars3.githubusercontent.com/u/274604?v=4","gravatar_id":"","url":"https://api.github.com/users/Krassmus","html_url":"https://github.com/Krassmus","followers_url":"https://api.github.com/users/Krassmus/followers","following_url":"https://api.github.com/users/Krassmus/following{/other_user}","gists_url":"https://api.github.com/users/Krassmus/gists{/gist_id}","starred_url":"https://api.github.com/users/Krassmus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krassmus/subscriptions","organizations_url":"https://api.github.com/users/Krassmus/orgs","repos_url":"https://api.github.com/users/Krassmus/repos","events_url":"https://api.github.com/users/Krassmus/events{/privacy}","received_events_url":"https://api.github.com/users/Krassmus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-06-22T13:58:37Z","updated_at":"2018-05-28T05:52:14Z","closed_at":"2017-07-27T13:56:12Z","author_association":"NONE","body":"### Steps to reproduce\r\n1. Have an oauth 2 access token and try to access nextcloud via webdav.\r\n2. create a curl-request with the \"Authorization: Bearer xyz\" header where `xyz` is the access token.\r\n\r\n### Expected behaviour\r\nI should have got access to the web dav objects\r\n\r\n### Actual behaviour\r\nNextcloud tells me en error message \r\n    <?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n    <d:error xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\">\r\n      <s:exception>Sabre\\DAV\\Exception\\NotAuthenticated</s:exception>\r\n      <s:message>No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured</s:message>\r\n    </d:error>\r\n\r\nBut it's from! I have clearly added the header with bearer token (but not basic auth).\r\n\r\n\r\n\r\n### Server configuration\r\n\r\n**Operating system**:\r\nubuntu\r\n**Web server:**\r\napache\r\n**Database:**\r\nmysql\r\n**PHP version:**\r\n5.5\r\n**Nextcloud version:** (see Nextcloud admin page)\r\n12\r\n**Updated from an older Nextcloud/ownCloud or fresh install:**\r\nfresh\r\n**Where did you install Nextcloud from:**\r\nmanually\r\n**Signing status:**\r\n<details>\r\n<summary>Signing status</summary>\r\n\r\n```\r\nNo errors have been found.\r\n```\r\n</details>\r\n\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nno\r\n**Are you using encryption:** yes/no\r\nssl\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nno\r\n\r\n### Client configuration\r\n**Browser:**\r\nphp curl\r\n**Operating system:**\r\nubuntu\r\n### Logs\r\n#### Web server error log\r\nno log error at that time\r\n\r\n\r\nI thought this could be related to #5372 but the fix there didn't seem to work for me."},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/392426208","html_url":"https://github.com/nextcloud/server/issues/5512#issuecomment-392426208","issue_url":"https://api.github.com/repos/nextcloud/server/issues/5512","id":392426208,"user":{"login":"karankotz","id":19654061,"avatar_url":"https://avatars1.githubusercontent.com/u/19654061?v=4","gravatar_id":"","url":"https://api.github.com/users/karankotz","html_url":"https://github.com/karankotz","followers_url":"https://api.github.com/users/karankotz/followers","following_url":"https://api.github.com/users/karankotz/following{/other_user}","gists_url":"https://api.github.com/users/karankotz/gists{/gist_id}","starred_url":"https://api.github.com/users/karankotz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karankotz/subscriptions","organizations_url":"https://api.github.com/users/karankotz/orgs","repos_url":"https://api.github.com/users/karankotz/repos","events_url":"https://api.github.com/users/karankotz/events{/privacy}","received_events_url":"https://api.github.com/users/karankotz/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T05:52:14Z","updated_at":"2018-05-28T05:52:14Z","author_association":"NONE","body":"@Krassmus  Can you please provide more details on how you solved this problem, I have been struggling with this since long time!"}}
{"actor":{"display_login":"karankotz"}}