Commit 9bbfb63
committed
fix(oidc): redirect auth failures to styled login page
OIDC failures were redirecting to /login?error (Spring Boot's
auto-generated page) instead of /login.html?error. Adding failureUrl
to the oauth2Login config fixes the redirect. Also generalized the
error message copy to make sense for both form login and OIDC failures.1 parent 9a5b399 commit 9bbfb63
2 files changed
Lines changed: 2 additions & 1 deletion
File tree
- git-proxy-java-dashboard/src/main
- java/org/finos/gitproxy/dashboard
- resources/static
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
413 | 414 | | |
414 | 415 | | |
415 | 416 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments