Posts

Showing posts with the label Replace default verification flow

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 create custom firebase email templates and action handlers link #13

Image
Learn how to create custom email action handlers and change the Firebase email templates using Firebase email link authentication. Detailed how to implement the custom Firebase Auth Email verification template and send to user on signup. And the verification URL would contain URL to your site instead of Firebase default URL. And on visit of this URL, how to call verify method of Firebase Auth in Laravel PHP with little help of JavaScript SDK. Here, we assume, your are clear about Firebase Auth and you have enabled the Email/Password in the Sign-in method Now lets begin to customize the URL, you get in your firebase email verification template. It looks like something  https://test-cc4d3.firebaseapp.com/__/auth/action?mode=<action>&oobCode=<code> Here, in above image, you have edit button for the editing the template. Click on that, then you will have "customize action URL" link at the bottom...