Files
zitadel/internal/domain
Yann Soubeyrand 88213d785a fix(oidc): accept localhost redirect URIs without path nor port (#10836)
# Which Problems Are Solved

Some native OIDC applications use localhost without a path as redirect
URI. Currently, setting `http://localhost` as a redirect URI leads to a
compliance warning (`Redirect URIs must begin with your own protocol,
http://127.0.0.1, http://[::1] or http://localhost.`), while
`http://localhost/some/path` and `http://localhost:some-port` are
accepted).

# How the Problems Are Solved

This PR adds additional checks to accept `http://localhost`,
`http://127.0.0.1`, `http://[::1]` and `http://[0:0:0:0:0:0:0:1]` (their
counterpart with port and with path were already accepted).

---------

Co-authored-by: Marco Ardizzone <marco@zitadel.com>
2025-10-21 10:10:49 +00:00
..
2025-07-02 07:34:19 +00:00
2025-06-27 17:25:44 +02:00
2025-03-04 11:09:30 +00:00
2025-05-02 13:44:24 +02:00
2024-01-02 14:26:31 +00:00
2024-09-11 10:53:55 +00:00
2024-08-12 22:32:01 +02:00
2024-04-11 09:16:10 +02:00