Skip to content

The OAuth Authorize button missing in Swagger UI when native compiled with Spring Boot 3.0 #2255

@magnus-larsson

Description

@magnus-larsson

Describe the bug

  • The OAuth Authorize button missing in Swagger UI when a resource server is native compiled with Spring Boot 3.0

To Reproduce

Version used:

  • spring-boot version: v3.0.4
  • springdoc-openapi module and version: springdoc-openapi-starter-webflux-ui, v2.1.0

Steps to reproduce the behavior:

Expected behavior

  • Use the same project as above, build and run it:

    cd oauth-resource-server-webflux
    mvn clean package
    java -jar target/oauth-resource-server-webflux-3.1.7-SNAPSHOT.jar
    
  • Open the Web UI, http://127.0.0.1:8082/resource-server/swagger-ui.html, and note that the Authorize button is present:

    springdoc-oauth-java-jar-working

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions