Terms on sign up page not working
- Langage dominant
- Java
- Étoiles
- 195
- Forks
- 77
- Merge moyen
- 8 j 9 h
- PR mergées (30 j)
- 1
Description
# 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
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.