-
-
Notifications
You must be signed in to change notification settings - Fork 566
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
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:
-
Use the
demo-oauth2example in https://github.com/springdoc/springdoc-openapi-demos, branch2.x -
Native compile the
oauth-resource-server-webfluxproject and run it:cd oauth-resource-server-webflux mvn -Pnative clean native:compile ./target/oauth-resource-server-webflux -
Open the Web UI, http://127.0.0.1:8082/resource-server/swagger-ui.html, and note that the Authorize button is missing:
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:
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation