mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-26 05:46:28 +00:00
# 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>
(cherry picked from commit 88213d785a)