Files
morulia/lib
CatoandClaude 4df011deee fix(auth): exact-match redirect_uri and a 60-second code lifetime
The plugin's redirect check forgave the port of any loopback address, so one
app's localhost address could stand in for another's. validateRedirectUri now
requires an exact string match against the client's registered list; a refusal
renders /problem and never redirects to the rejected address. Codes live 60s
(was 600s). Tests cover a signed-in browser with unregistered, path-extended,
query-extended and cross-app URIs, a /token redirect_uri mismatch, TTL and expiry.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-12-03 19:21:39 +00:00
..