Getting user info using their refresh token

but in both i need the user id no?