Skip to content

UI Authorize button - OAuth2 with clientCredentials returns error of CORS #1650

@weesftw

Description

@weesftw

After configuring the securitySchemes and filling in all the elements (flows, tokens, scopes), the button to authenticate returns the CORS error and the OAuth server side is ok... it seems to me that swagger-ui does not send headers valid CORS, how can I configure this?

  • spring-boot version 2.6.6
  • Using springdoc-openapi-ui version 1.6.8

example swagger.yaml.

example

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions