knife4j icon indicating copy to clipboard operation
knife4j copied to clipboard

开启了用户认证后没有弹出登录窗口

Open lowmanisbusy opened this issue 6 months ago • 3 comments

Describe the bug 版本 <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-gateway-spring-boot-starter</artifactId> 4.4.0

配置 knife4j: gateway: enabled: true strategy: discover discover: enabled: true version: openapi3 basic: enable: true username: xxx password: xxx

To Reproduce

Steps to reproduce the behavior: 1、访问页面:127.0.0.1:8080/doc.html 2、返回信息: { "code": 500, "msg": "401 UNAUTHORIZED" }

lowmanisbusy avatar Jun 07 '25 05:06 lowmanisbusy

蹲一下,有解决方案了麻烦大佬踢一下

bzb745300 avatar Jun 08 '25 04:06 bzb745300

我也遇到了这个问题

tcscat avatar Jul 03 '25 03:07 tcscat

我也遇到了这个问题

CcCcaidan avatar Nov 08 '25 09:11 CcCcaidan