This isn't an "implimentation flaw". Its a fundamental flaw in the core logic.
->the attacker would then sign in, via OAuth 2.0, with their own credentials. The proxy would capture the outbound exchange and the attacker could then substitute their user ID with a victim’s (this would be obtained from public information).