Skip to content

Oauth2.0 Implicit flow is not working #7180

Open
@ravaga

Description

@ravaga

Q&A

  • Browser: all
  • Method of installation: Docker image
  • Swagger-UI version: swaggerapi/swagger-ui:v3.43.0
  • Swagger/OpenAPI version: OpenAPI 3.0.1

Content & configuration

Example Swagger/OpenAPI definition:

securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: https://oauthUrl/oauth2/authorize
          refreshUrl: https://oauthUrl/oauth2/token
          scopes: {}

Describe the bug you're encountering

When using Oauth2.0 Implicit flow, the authorization flow is carried properly and the Swagger UI shows that the user is authorized. However, if the user tries to make a request, the Swagger UI shows that the token is undefined and the request cannot be carried.

To reproduce...

Steps to reproduce the behavior:

  1. Press Authorize button
  2. Authorize via implicit flow
  3. Execute a request

Screenshots

Authorization seems to be OK...
imagen

... but really the token is not obtained
imagen

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions