OAuth2 Provider

OAuth Redirect

The authorize endpoint accepts any redirect_uri and skips state and PKCE checks, making it trivial to siphon access codes to an attacker domain.

Login flow

  Trigger consent
  

Expected Findings

  • `redirect_uri` is not matched against a registered allow-list.
  • `state` parameter is optional and never verified on callback.
  • PKCE (`code_challenge`) is accepted but never enforced.

Signals

Validation
// TODO: validate redirect_uri later
Location: ${redirect_uri}?code=${code}