Skip to content

Javascript reference setSession docs are incorrect (recent change?) #632

@GaryAustin1

Description

@GaryAustin1

Improve documentation

Link

https://supabase.com/docs/reference/javascript/auth-setsession
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions