Terms on sign up page not working
- 主要语言
- Java
- 星标
- 195
- 派生
- 77
- 平均合并
- 8 天 9 小时
- 30 天内合并 PR
- 1
描述
# What happened?
"Terms" page is not shown.
To reproduce:
1. Deploy Klaw with SSO enabled
2. Open Klaw in browser with a user which is not registered
3. User gets redirected to sign-up page (/register)
4. Click on "Terms" link
5. Page reloads and the same page is shown again
# What did you expect to happen?
"Terms" page is shown to the user
# What else do we need to know?
Klaw version: 2.10.3
Configuration properties for Klaw Core:
```
klaw.enable.sso = true
klaw.login.authentication.type = ad
```
The developer tools of the browser show that first a GET request to /terms is made, but the response is a 302 which redirects back to /register url.
Might be related to this code location: https://github.com/Aiven-Open/klaw/blob/main/core/src/main/java/io/aiven/klaw/service/UiControllerLoginService.java#L255-L260
贡献指南
评估
这个 Issue 还没有评估数据。