Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

"Try it" requests authorization when security is not defined (using chrome) #2

Open
7 tasks
carobazan opened this issue Apr 10, 2017 · 0 comments
Open
7 tasks
Assignees
Labels

Comments

@carobazan
Copy link

Description

"Try it" shows a button "authorize and send" when using chrome, while using the same API opened in firefox the "try it" action shows a "send" button

Expected outcome

"Try it" allows to send request without requesting authorization

Actual outcome

"Try it" requests authorization for resources with no security defined

Live Demo

Steps to reproduce

  1. Open URL for the api attached in Chrome (I'm using Version 57.0.2987.133 (64-bit))
    testExamples.zip
  2. Click on any resource (no security_scheme is being used for any of the resources defined)
  3. Click on get or any operation
  4. Click on Try it
    The page shows a button authorize and send, when clicking on it, it shows a basic authorization
    as in this image

screen shot 2017-04-10 at 2 49 14 pm

Authorization is requested prior to get the response, the same steps using firefox lead to this page:

screen shot 2017-04-10 at 2 50 07 pm

Where send can be clicked without entering any authorization data

Browsers Affected

  • [x ] Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@jarrodek jarrodek self-assigned this Apr 17, 2017
@jarrodek jarrodek added the bug label Apr 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants