supabase-js
supabase-js copied to clipboard
{ "code": 400, "error_code": "validation_failed", "msg": "Unsupported logout scope \"window\"" }
Bug report
- [X ] I confirm this is a bug with Supabase, not with my own application.
- [X ] I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
When I try supabase.auth.signOut(), on version 2.43.3 on JS, I get this error: { "code": 400, "error_code": "validation_failed", "msg": "Unsupported logout scope "window"" }
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- In a deployed production environment only, when I run supabase.auth.signOut(), I get the error above. In development, before compiling, it works fine.
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
System information
- OS: [macOS, Windows]
- Browser (if applies) [chrome]
- Version of supabase-js: [2.43.3]