Skip to content

OAuth 2 with authorization code flow uses wrong callback url #4676

Open
@dinamic

Description

@dinamic

Q&A (please complete the following information)

  • OS: macOS
  • Browser: chrome
  • Version: 67
  • Method of installation: none
  • Swagger-UI version: current online version
  • Swagger/OpenAPI version: both Swagger 2.0 and OpenAPI 3.0

Describe the bug you're encountering

We have OAuth2 authorization code flow implemented. Our API documentation is build using OpenAPI v3. Using https://editor.swagger.io/ does not work for us, because there is a bug with the callback url.

Swagger Editor should either provide means to change the callback url required or should at least get it right.

Expected: https://editor.swagger.io/oauth2-redirect.html
Actual: http://localhost:3200/oauth2-redirect.html

Expected behavior

Using OAuth2 with authorization code flow should work while using https://editor.swagger.io/.

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