Aiven-Open / Aiven-Open/klaw

Terms on sign up page not working

未关闭
#3,034 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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

Image

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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。