Commit 6973cfa
authored
Restrict wildcard redirect URIs in realm configuration (#2)
Wildcard redirect URIs allow open redirect attacks where an attacker can
craft a login URL that redirects the auth code/token to a domain they
control. This tightens the redirect URIs for all clients:
- Icatx_application: /* -> http://webprotege-local.edu/*
- machine-client: * -> [] (service-account-only, no redirect needed)
- user-management: /* -> [] (service-account-only, no redirect needed)
- webprotege: removed redundant/double-wildcard entries, kept single explicit pattern1 parent 8b3c9e4 commit 6973cfa
1 file changed
Lines changed: 7 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
| 621 | + | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | | - | |
947 | | - | |
948 | | - | |
| 946 | + | |
949 | 947 | | |
950 | 948 | | |
951 | 949 | | |
| |||
1168 | 1166 | | |
1169 | 1167 | | |
1170 | 1168 | | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | | - | |
| 1169 | + | |
| 1170 | + | |
1177 | 1171 | | |
1178 | 1172 | | |
1179 | 1173 | | |
| |||
1238 | 1232 | | |
1239 | 1233 | | |
1240 | 1234 | | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
| 1235 | + | |
1245 | 1236 | | |
1246 | 1237 | | |
1247 | | - | |
| 1238 | + | |
1248 | 1239 | | |
1249 | 1240 | | |
1250 | 1241 | | |
| |||
0 commit comments