Replies: 1 comment 2 replies
-
$email, 'password' => $password, ]; $createdUser = $auth->createUser($userProperties); if($createdUser) { $_SESSION['status']="user Creaed Successfully"; header("location:sighnup.php"); } else { $_SESSION['status']="User not created Successfully"; header9("location:sighnup.php"); } } ?> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error:
POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/signupNewUser
resulted in a400 Bad Request
response: (truncated...) in C:\xampp\htdocs\php_firebase\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113 Stack trace: #0 C:\xampp\htdocs\php_firebase\vendor\guzzlehttp\guzzle\src\Middleware.php(69): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL) #1 C:\xampp\htdocs\php_firebase\vendor\guzzlehttp\promises\src\Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response)) #2 C:\xampp\htdocs\php_firebase\vendor\guzzlehttp\promises\src\Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL) #3 C:\xampp\htdocs\php_firebase\vendor\guzzlehttp\promises\src\TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}() #4 C:\xampp\htdocs\php_firebase\vendor in C:\xampp\htdocs\php_firebase\vendor\kreait\firebase-php\src\Firebase\Exception\AuthApiExceptionConverter.php on line 75Beta Was this translation helpful? Give feedback.
All reactions