Posts

Showing posts with the label Sign in methods

How to make Firebase query search not case sensitive #18

Image
How to make Firebase query search not case sensitive because you know Firebase provide exact match "==" with case sensitive. So we will solve this issue in the chapter in detail. We will use the Laravel PHP SDK for the firebase for all the queries stuff. Also we will see case insensitive sorting with Firebase orderBy using Firebase search ignoring case. Now lets consider a simple example, you have 'Student' list and you want to search by name. So the main use of any search is that, you insert one or two characters and the system should search the most matching one, but that not the case in Firebase. Firebase is a case sensitive. Means string "Name" and "name" are two different values for Firebase. All Firebase developers are facing this issue, which is most basic necessity. So lets first understand, currently what is provided by Firebase. See the below example of Student List. Now here you see, we have a Student ...

How to use Laravel with Firebase authentication using REST API basic integration #6

Image
Learn how to use Laravel with Firebase authentication using REST API basic integration. In this chapter, we will learn how to setup authentication in Firebase and its usage in the Laravel using the Firebase Admin PHP SDK. First of all, click on "Authentication" and open the "Users" tab, click on the "Set up sign-in method". It will redirect to Sign-in method tab. Then click on status "Disabled" on "Email/Password" row and "Enable" this option. Keep the "Email link (passwordless sign-in)" is disable. We will cover in next chapters. Click on "Save" and make this option "Enabled". This will give you option to add users in "Users" tab. Now if you add a user, it will provide a unique user id and can link it with any collection in the Cloud Firestore database by inserting this uid in the fields and can add...