Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(auth): store session directly without wrapping in StoredSession type #513

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

grdsdev
Copy link
Collaborator

@grdsdev grdsdev commented Aug 26, 2024

What kind of change does this PR introduce?

To make it possible to share sessions between Swift and Flutter, the session structured stored should match.

This PR migrates the stored session that was stored as:

{
    "session": <Session>,
    "expiration_date": <Date>
}

to store it directly as:

<Session>

Which is the expected structure for Flutter.

Additional context

supabase/auth#1727

@grdsdev grdsdev merged commit 5de2d8d into main Aug 26, 2024
8 checks passed
@grdsdev grdsdev deleted the guilherme/migrate-stored-session branch August 26, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants