Email Authentication fails #32528
Unanswered
Grayjack64
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have not been able to get the email login function for my app to work at all. I created a python test script to debug the issue but am getting no closer to a solution. Below is the code from the test script:
Here is the terminal output from that:
Configuration:
URL: https://vbcfdhjnzhvxhsysuect.supabase.co
Anon key prefix: eyJhbGci...
Service key prefix: eyJhbGci...
Checking database structure...
Schema check status: 200
Schema access: Successful
Checking auth user...
Auth check status: 200
Auth users: {
"users": [],
"aud": "authenticated"
}
Checking public users...
Public users status: 200
Public users: [
{
"id": "77771dcd-6a90-4413-b7a1-431d77081215",
"email": "[email protected]",
"role": "admin",
"created_at": "2025-01-02T15:50:00.051912+00:00"
}
]
Checking auth settings...
Settings status: 200
Auth settings: {
"external": {
"anonymous_users": false,
"apple": false,
"azure": false,
"bitbucket": false,
"discord": false,
"facebook": false,
"figma": false,
"fly": false,
"github": false,
"gitlab": false,
"google": false,
"keycloak": false,
"kakao": false,
"linkedin": false,
"linkedin_oidc": false,
"notion": false,
"spotify": false,
"slack": false,
"slack_oidc": false,
"workos": false,
"twitch": false,
"twitter": false,
"email": true,
"phone": false,
"zoom": false
},
"disable_signup": false,
"mailer_autoconfirm": false,
"phone_autoconfirm": false,
"sms_provider": "twilio",
"saml_enabled": false
}
Checking redirect URLs...
Site URL:
Redirect URLs: []
Checking database configuration...
Configuration check status: 200
Database configuration:
{
"database_info": {
"current_database": "postgres",
"current_schema": "public",
"current_user": "postgres",
"session_user": "authenticator"
},
"auth_schema": {
"exists": true,
"tables": [
"refresh_tokens",
"instances",
"schema_migrations",
"users",
"saml_providers",
"saml_relay_states",
"flow_state",
"one_time_tokens",
"identities",
"audit_log_entries",
"mfa_factors",
"mfa_challenges",
"sessions",
"mfa_amr_claims",
"sso_providers",
"sso_domains"
]
},
"auth_user": {
"instance_id": "00000000-0000-0000-0000-000000000000",
"id": "77771dcd-6a90-4413-b7a1-431d77081215",
"aud": "authenticated",
"role": "authenticated",
"email": "[email protected]",
"encrypted_password": "$2a$06$/3jahVij37FPOI90UHSe3.xS5mlFm3zecQpGLOXe1QiyLytOP4noC",
"email_confirmed_at": "2025-01-02T15:50:00.051912+00:00",
"invited_at": null,
"confirmation_token": null,
"confirmation_sent_at": null,
"recovery_token": null,
"recovery_sent_at": null,
"email_change_token_new": null,
"email_change": null,
"email_change_sent_at": null,
"last_sign_in_at": null,
"raw_app_meta_data": {
"provider": "email",
"providers": [
"email"
]
},
"raw_user_meta_data": {
"full_name": "Danny B********"
},
"is_super_admin": false,
"created_at": "2025-01-02T15:50:00.051912+00:00",
"updated_at": "2025-01-02T15:50:00.051912+00:00",
"phone": null,
"phone_confirmed_at": null,
"phone_change": "",
"phone_change_token": "",
"phone_change_sent_at": null,
"confirmed_at": "2025-01-02T15:50:00.051912+00:00",
"email_change_token_current": "",
"email_change_confirm_status": 0,
"banned_until": null,
"reauthentication_token": "",
"reauthentication_sent_at": null,
"is_sso_user": false,
"deleted_at": null,
"is_anonymous": false
}
}
Attempting login...
Login response status: 400
Login response: {
"code": 400,
"error_code": "invalid_credentials",
"msg": "Invalid login credentials"
}
Beta Was this translation helpful? Give feedback.
All reactions