You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
│ #2 packages/gotrue/src/gotrue_client.dart 199:24
│ #3 packages/gotrue/src/fetch.dart 107:19
│ #4 packages/gotrue/src/fetch.dart 195:3
│ #5 packages/http/http.dart 171:1
│ #6 packages/http/src/response.dart 64:3
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ 08:38:43.200 (+0:00:00.766000)
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⛔ Auth Cubit / sign up
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
To Reproduce
Steps to reproduce the behavior:
Future signUpNewUser(String email, String password) async {
try {
final AuthResponse res = await supabase.auth.signUp(
email: email,
password: password,
);
log.d(res.session.toString());
log.d(res.user.toString());
} catch (e) {
log.e('Auth Cubit / sign up', e);
}
}
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
The text was updated successfully, but these errors were encountered: