mirror of
https://github.com/bitbaum/morulia.git
synced 2026-12-05 03:47:13 +01:00
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>