I am creating user sign and up with MySQL
, PHP
and I want to authenticate user account with firebase and create id token and verify the account with the help of firebase? I am new in firebase
I already created a user login form but how to connect firebase with myself. I am not getting.
include("include/db.php");
if(isset($_POST['signup'])){
$email = $_POST['emailSignup'];
$pass = $_POST['passSignup'];
$auth = $firebase->getAuth();
$user = $auth->createUserWithEmailAndPassword($email,$pass);
header("Location:index.php");
}