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

_remove_session bug causing sign_up to fail #630

Open
2 tasks done
jpan8866 opened this issue Nov 15, 2024 · 1 comment
Open
2 tasks done

_remove_session bug causing sign_up to fail #630

jpan8866 opened this issue Nov 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jpan8866
Copy link

jpan8866 commented Nov 15, 2024

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

A clear and concise description of what the bug is.

When using async client's auth.sign_up, it will fail due to _remove_session. Specifically, the line

await self._storage.remove_item(self._storage_key)

will error out due to remove_item returning None.

To Reproduce

Try to use auth.signup with async client

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

Error removing session: object NoneType can't be used in 'await' expression

System information

macOS

Additional context

Add any other context about the problem here.

@jpan8866 jpan8866 added the bug Something isn't working label Nov 15, 2024
@silentworks
Copy link
Contributor

Please provide a reproducible example repo. I can't replicate this from my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants