添加根路径后登录与单应用注销返回不符
Open
- Dominant language
- Java
- Stars
- 19k
- Forks
- 2.9k
- PR merge metrics
- No merged PRs in 30d
Description
### 使用版本:
1.43.0
### 涉及的功能模块:
SSO单点登录,应用端模式二
### 测试步骤:
我经过以下步骤测试:在端口号下
`# 端口
server:
port: 9002
servlet:
context-path: /two`
执行示例代码中的登录与单应用注销
`"登录 - " +
"单应用注销 - " +`
+ 得出以下结果:
在网址手动添加路径/two确保成功执行,但最后回调的地址路径为sa-sso-client2.com:9002而不是sa-sso-client2.com:9002/two,导致的返回预期错误。是否是框架获取请求地址时缺少路径导致,或是框架拼接响应时缺少路径。应该如何返回正确的预期路径?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the report with version 1.43.0, server port 9002, and servlet context path /two. Run the example links for /sso/login?back=/ and /sso/logoutByAlone?back=/, then trace the callback URL; done means the final address retains the /two path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100