2 ms·
Your comment doesn't explain what attack can be mitigated by redirect allowlist but not PKCE.
by paulddraper 4y ago
Your comment doesn't explain what attack can be mitigated by redirect allowlist but not PKCE.
- webhamster 4y agoFor starters, without restrictions on the redirect URI, I (as the attacker) can just redirect a user to the authorization endpoint with a client ID of a trustworthy client, a redirect URI pointing to my server, and a PKCE challenge that I selected so that I know the PKCE verifier. The auth code will end up at my server and I can redeem it, giving me (instead of the trustworthy client) access to the user's resources. If the client is a confidential client, I can use a authorization code injection attack to redeem the code and work with the user's resource.