{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1374","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1374/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1374/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1374/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/1374","id":88649482,"number":1374,"title":"Multiple headers don't work","user":{"login":"HoltR","id":8318565,"avatar_url":"https://avatars.githubusercontent.com/u/8318565?v=3","gravatar_id":"","url":"https://api.github.com/users/HoltR","html_url":"https://github.com/HoltR","followers_url":"https://api.github.com/users/HoltR/followers","following_url":"https://api.github.com/users/HoltR/following{/other_user}","gists_url":"https://api.github.com/users/HoltR/gists{/gist_id}","starred_url":"https://api.github.com/users/HoltR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HoltR/subscriptions","organizations_url":"https://api.github.com/users/HoltR/orgs","repos_url":"https://api.github.com/users/HoltR/repos","events_url":"https://api.github.com/users/HoltR/events{/privacy}","received_events_url":"https://api.github.com/users/HoltR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-16T07:52:52Z","updated_at":"2015-06-16T09:08:26Z","closed_at":null,"body":"Adding multiple headers using the following will not work.\r\n\r\nswaggerUi.api.clientAuthorizations.add(\"key\", new SwaggerClient.ApiKeyAuthorization(\"Authorization\", \"XXXX\", \"header\"));\r\n\r\nI tracked the issue to the swagger-ui.js line 987\r\n\r\nstatus = status || !!auth.apply(obj); // logical ORs regarding status\r\n\r\nwhich i believe should be (single !)\r\n\r\nstatus = status || !auth.apply(obj); // logical ORs regarding status\r\n\r\nfixed my issues but its a complex beast and I don't have time to submit changes myself sorry\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments/112350454","html_url":"https://github.com/swagger-api/swagger-ui/issues/1374#issuecomment-112350454","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1374","id":112350454,"user":{"login":"HoltR","id":8318565,"avatar_url":"https://avatars.githubusercontent.com/u/8318565?v=3","gravatar_id":"","url":"https://api.github.com/users/HoltR","html_url":"https://github.com/HoltR","followers_url":"https://api.github.com/users/HoltR/followers","following_url":"https://api.github.com/users/HoltR/following{/other_user}","gists_url":"https://api.github.com/users/HoltR/gists{/gist_id}","starred_url":"https://api.github.com/users/HoltR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HoltR/subscriptions","organizations_url":"https://api.github.com/users/HoltR/orgs","repos_url":"https://api.github.com/users/HoltR/repos","events_url":"https://api.github.com/users/HoltR/events{/privacy}","received_events_url":"https://api.github.com/users/HoltR/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T09:08:26Z","updated_at":"2015-06-16T09:08:26Z","body":"ah, i couldn't find a bug or issue and i am not really a js developer! thanks for taking a look and educating me in the vagaries of !!"}}