When using Authorization codes (in the Explicit oAuth2 flow), the user agent never seems to see anything other than the auth code, which does not even identify the user. The code is then sent client, who will now know the user's identity and can access the protected resource. But the user agent still seems to be kept in the dark about who is logged in.
So how does a user agent know who is logged in?