cotter.getUser()
:id_token
is expired, this function will automatically attempt to refresh the token, resulting in refreshing the user's session, and return the User object if successful. Otherwise, this function will throw an error if the session is expired.