Detect OAuth authentication success thorough a "code" parameter.