Skip to content

The Logout button in Authorize popup not clearing API Key #4641

Closed
@vivek201

Description

@vivek201

Q&A (please complete the following information)

  • OS: Windows 8.1
  • Browser: Opera, Chrome, Firefox
  • Version: 53.0.2907.68
  • Method of installation: in Demo at http://petstore.swagger.io

Describe the bug you're encountering

The Authorize Popup is not clearing the apiKey when LogOut button is clicked.

To reproduce...

Steps to reproduce the behavior:

  1. Go to http://petstore.swagger.io
  2. Click on the Authorize popup
  3. Scroll down to the API key section
  4. Type a text in the textbox
  5. Click on Authorize
  6. Without closing the Popup, click on Logout and again Authorize.
  7. The APIKey is authorized even though there is nothing in the textbox

Expected behavior

It shouldn't allow to authorize an empty textbox

Screenshots

authorize

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions