Forgot password feature bugs - debugging

Hello guys I actually downloaded this AIA file from the internet, but there is a small mistake in this program, actually this program is meant for an app that facilitates the login and signup and even the forgot password feature but this app performs the first two tasks well.
The forgot password feature is alone little bit buggy. Whenever I go into that respective screen and when I try to change my password it only ask for a new password and when I click on the apply button it directly applies it without any OTP coming I thought that it would be not secure enough for my users … so how can I add one OTP feature in this forgot password screen and as I am a newbie to Koding I don’t know how to do so…
Please help me in this regard and secondly when I try to login with the updated password it says that the password entered is wrong, I tried it numerous times please help me debug my app
thank you
thanks in advance.

are you using google firebase???

if you use firebase u use the block given below

image

1 Like

Thanks for replying … I found it helpful but how can I merge it with ( Login part ) another part of my app ( it is a separate AIA file )

Hey buddy, mind elaborating about the app and showing your blocks?

login.aia (1.4 MB)
here is the aia file buddy


exactly in this place I get a firebase config error while compiling the app

1 Like

just an example from my app

there wont be any otp but there will be a link that will take to a webpage where you will be able to reser password
the mail link ,the mail type , limit of resetting password etc can be changed at the firebase dashboard
you may go explore it by yourself

1 Like

can you please help me with this buddy

error screenshots???

1 Like

yes buddy …

Everything is correct :+1: :+1:

1 Like

Kodular is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/…
________Creating listview xml in res/layout-v21/…
________Creating xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________________Firebase components found.
________________Firebase config file error.

Did u upload the google-service.json file

1 Like

yes but only in the assets folder is it ok ?

1 Like

"firebase_url": "https://your-projekt-id.firebaseio.com",
add the above line to the json file where the finger is shown

“project_info”: {
“project_number”: “123456789”,
“firebase_url”: “https://your-projekt-id.firebaseio.com”, :point_left:
“project_id”: “your-projekt-id”,
“storage_bucket”: “your-projekt-id.appspot.com

even i had the same problem this worked for me

1 Like

Ok i will try and reply

1 Like

Is firebaseio.com a typo error ?
and how can I find my firebase url ?

go to https://console.firebase.google.com/
choose your project
project settings > general
now you can find projectid
copy it and then replase
_________ :point_down:
https://your-projekt-id.firebaseio.com/

past the id instead of your-projekt-id
replace only that nothing else

something wrong with your firebase configuration i think

:sleepy: what can I do now is there any other good alternative for firebase ? that is free and easy to use ?
I could have googled the same but to get results from experience, I need all your help…
Do reply me
Thanks in advance