# Improve documentation ## Link https://supabase.com/docs/reference/javascript/auth-setsession  ## Describe the problem The docs show using a refresh_token in two spots, but the parameter is listed as a session object and that was what they used to show I believe. refreshSession() also seems strange... ## Describe the improvement A clear and concise description of the improvement. ## Additional context Add any other context or screenshots that help clarify your question.