{"action":"created","issue":{"url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/87","repository_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth","labels_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/87/comments","events_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/87/events","html_url":"https://github.com/Tmeister/wp-api-jwt-auth/issues/87","id":268161973,"number":87,"title":"[query] Can I allow WooCommerce consumer key access at the same time?","user":{"login":"kwill","id":229415,"avatar_url":"https://avatars1.githubusercontent.com/u/229415?v=4","gravatar_id":"","url":"https://api.github.com/users/kwill","html_url":"https://github.com/kwill","followers_url":"https://api.github.com/users/kwill/followers","following_url":"https://api.github.com/users/kwill/following{/other_user}","gists_url":"https://api.github.com/users/kwill/gists{/gist_id}","starred_url":"https://api.github.com/users/kwill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwill/subscriptions","organizations_url":"https://api.github.com/users/kwill/orgs","repos_url":"https://api.github.com/users/kwill/repos","events_url":"https://api.github.com/users/kwill/events{/privacy}","received_events_url":"https://api.github.com/users/kwill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-24T19:45:39Z","updated_at":"2017-10-24T19:48:39Z","closed_at":null,"author_association":"NONE","body":"**Steps to reproduce:**\r\n\r\n* Perform a WooCommerce REST API query against Wordpress site\r\n  * Authenticate using the WooCommerce consumer key (as normal)\r\n* Activate JWT plugin\r\n* Repeat the query (with consumer key authentication)\r\n\r\n**What should happen:**\r\n\r\n* First query is successful\r\n* Second query is successful\r\n\r\n**What happens instead:**\r\n\r\n* First query is successful (correct)\r\n* Second query fails with\r\n\r\n````\r\n{'code': 'jwt_auth_bad_auth_header',\r\n 'data': {'status': 403},\r\n 'message': 'Authorization header malformed.'}\r\n````\r\n\r\nHow can I continue to perform queries with WooCommerce consumer key authentication (these are for system queries, logging, etc) but still activate JWT for user-orientated authentication?"},"comment":{"url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/comments/339109838","html_url":"https://github.com/Tmeister/wp-api-jwt-auth/issues/87#issuecomment-339109838","issue_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/87","id":339109838,"user":{"login":"kwill","id":229415,"avatar_url":"https://avatars1.githubusercontent.com/u/229415?v=4","gravatar_id":"","url":"https://api.github.com/users/kwill","html_url":"https://github.com/kwill","followers_url":"https://api.github.com/users/kwill/followers","following_url":"https://api.github.com/users/kwill/following{/other_user}","gists_url":"https://api.github.com/users/kwill/gists{/gist_id}","starred_url":"https://api.github.com/users/kwill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwill/subscriptions","organizations_url":"https://api.github.com/users/kwill/orgs","repos_url":"https://api.github.com/users/kwill/repos","events_url":"https://api.github.com/users/kwill/events{/privacy}","received_events_url":"https://api.github.com/users/kwill/received_events","type":"User","site_admin":false},"created_at":"2017-10-24T19:48:39Z","updated_at":"2017-10-24T19:48:39Z","author_association":"NONE","body":"This is similar to the following issues/queries but none of these has a recorded solution:\r\n* https://github.com/Tmeister/wp-api-jwt-auth/issues/48\r\n* https://github.com/Tmeister/wp-api-jwt-auth/issues/62\r\n* https://github.com/Tmeister/wp-api-jwt-auth/issues/3"}}
{"actor":{"display_login":"kwill"}}