i am using firebase php admin sdk. I have no problem with user registration, login, update or pulling user data. But no auth permission. It gives a permission error when adding something to the realtime database. How can I give auth authentication with php sdk?
This is how I can access the user's data. But I guess there is no authentication permission
$users = $firebase_auth->getUser($_SESSION['firebase_uid']);
print_r($users );