authelia/internal/utils
James Elliott a2244206f4
fix(configuration): incorrect sector_identifier_uri validation (#7037)
This fixes a number of validation errors with the sector_identifier_uri for clients. For starters empty strings should be ignored, secondly a sector_identifier_uri must point to a JSON document on a secure protocol i.e. HTTPS but this was not reflected in the tests. We still need to add a check to ensure the JSON document is valid for the client (i.e. includes all of the registered redirect_uris).

Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-03-31 12:25:52 +11:00
..
aes.go [FEATURE] Create dedicated health endpoint (#1489) 2020-11-25 10:20:52 +11:00
aes_test.go test: add misc missing tests (#5479) 2023-05-24 22:33:05 +10:00
bools.go feat(authentication): password policy (#2723) 2022-04-03 08:32:57 +10:00
bools_test.go feat(authentication): password policy (#2723) 2022-04-03 08:32:57 +10:00
bytes.go feat(server): customizable authz endpoints (#4296) 2023-01-25 20:36:40 +11:00
bytes_test.go feat(oidc): private_key_jwt client auth (#5280) 2023-05-15 10:32:10 +10:00
check.go test(utils): add additional coverage (#4751) 2023-01-12 22:30:16 +11:00
check_test.go test(utils): add additional coverage (#4751) 2023-01-12 22:30:16 +11:00
const.go feat(oidc): multiple jwk algorithms (#5279) 2023-05-15 10:03:19 +10:00
const_test.go refactor(random): add random provider (#4712) 2023-01-07 11:19:41 +11:00
crypto.go refactor(server): clear logs for tls handshake errors (#6873) 2024-03-15 13:17:21 +11:00
crypto_test.go refactor(server): clear logs for tls handshake errors (#6873) 2024-03-15 13:17:21 +11:00
errs.go fix(configuration): secret permission errors panic (#5141) 2023-04-08 16:02:34 +10:00
exec.go test: refactor linting (#5956) 2023-09-04 09:20:23 +10:00
exec_test.go ci: remove container read-only mounts (#6709) 2024-02-19 13:56:40 +11:00
files.go feature(oidc): add support for OpenID Connect 2021-05-05 00:15:36 +02:00
files_test.go feature(oidc): add support for OpenID Connect 2021-05-05 00:15:36 +02:00
hashing.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
hashing_test.go refactor(random): add random provider (#4712) 2023-01-07 11:19:41 +11:00
integers.go test(suites): add and fix tests for coverage 2024-03-04 20:29:11 +11:00
strings.go fix(configuration): incorrect sector_identifier_uri validation (#7037) 2024-03-31 12:25:52 +11:00
strings_test.go fix(configuration): incorrect sector_identifier_uri validation (#7037) 2024-03-31 12:25:52 +11:00
time.go refactor: strip word and from duration (#5412) 2023-05-08 15:57:11 +10:00
time_test.go test: add misc missing tests (#5479) 2023-05-24 22:33:05 +10:00
url.go fix(configuration): incorrect sector_identifier_uri validation (#7037) 2024-03-31 12:25:52 +11:00
url_test.go fix(configuration): incorrect sector_identifier_uri validation (#7037) 2024-03-31 12:25:52 +11:00
version.go build: add container labels and annotations (#4071) 2022-09-26 10:05:59 +10:00
version_test.go build: add container labels and annotations (#4071) 2022-09-26 10:05:59 +10:00