Auth SignUp became anonymous login
Describe the bug
SDK signUp for new user with email and password signup return error as following :
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ AuthException(message: Anonymous sign-ins are disabled, statusCode: 422, errorCode: anonymous_provider_disabled)
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ #0 packages/biz_tool/modules/auth/services/log_service.dart 16:5 e
│ #1 packages/biz_tool/modules/auth/cubit/auth_cubit.dart 24:11
To Reproduce
Steps to reproduce the behavior:
Future
Expected behavior should register the user with email and password in supabase.
Version (please complete the following information): $ dart pub deps | grep -E "supabase|gotrue|postgrest|storage_client|realtime_client|functions_client" ├── supabase_flutter 2.8.4 │ ├── supabase 2.6.3 │ │ ├── functions_client 2.4.1 │ │ ├── gotrue 2.11.1 │ │ ├── postgrest 2.4.1 │ │ ├── realtime_client 2.4.2 │ │ ├── storage_client 2.3.1
Additional context if i enable anonymous login then the user return is anonymous true
i found out i pass no email and password to the endpoint. maybe the error message tell no email and password provided instead to login with anonymous user?
When you say you didn't pass them, you mean they were empty, right? Because the password parameter is required so you shouldn't be able to not pass a password.
This issue has been closed as it has been inactive for some time. If you are still experiencing an issue, please feel free to reopen it.