Skip to content

How to login with email and password in firebase from python using Firebase Admin Python SDK? #641

Closed
@koushikromel

Description

@koushikromel

This is my first question on GitHub so i thought i should write it as much as detailed if my question was too long kindly excuse me.

I'm using Pyrebase(a third party package to access firebase data) now I'm looking forward to migrate to Firebase Admin Python SDK for all my works i couldn't find this particular thing in firebase-admin

In Pyrebase i use these commands to create and login to my account using python
To create a new user auth.create_user_with_email_and_password(email, password)
To login with email and password user = auth.sign_in_with_email_and_password(email, password)

In Firebase Admin Python SDK I can create an auth with create a new user
firebase_admin.auth.create_user(**kwargs) create user documentation page
like i do in Pyrebase No issues with this.

But i couldn't find a way to login with password, here it takes email as a parameter and returns the user details
firebase_admin.auth.get_user_by_email(email, app=None) get user documentation page

So my question here is how do i authenticate user by login page by getting user email and password
I wanna know is there any other way to authenticate users in Firebase Admin Python SDK

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions