Sign In Masterpost

I’m so glad! :smile:

1 Like

any tutorial about customising web viewer …like width height…and adding button on web viewer screen also placing ads on that page…i am going to develop an app of my website…The only language i know is html… I am even worst in drag and drop code… so any good tut. or post applicable for me?:thinking:

Hello and thanks for the tutorial,

I’d like to make users sign up to the app only by SMS OTP, I found a third partyservice, but I’d like to understand how can I use it in firebase security so that a user can only see his informations and not other peoples.

Can anybody help me please?

I really have no clue what I should do.

Hello, it’s me again, since I couldn’t use the SMS OTP, I finally went for e-mail sign in, and I use a method that doesn’t distinguish between sign up and sign in, but it does it automatically, you just give the app email and pass and if you are not registered it will do it and tell you to check the email, so it will if you are signed in but not verified your mail and finally it will just work when you are registered.

Howevere I’m trying to understand:

Do I have to sign in everytime I need to access the database or is there a way to keep the user signed in so I don’t have to go trough the sign in blocks on every screen?

Thanks

I think this approach will work well for you:

  • Store the user’s email and password on the phone (with the user’s permission)
  • When the screen/app starts, check for stored credentials
  • If there are credentials stored, log the user in

I the majority of this approach in this tutorial starting at 7:57:

2 Likes

Do you need the permission?
I was doing it by default.

I think I already saw that video and I am using that method but when I change screen I think I lose log in, I say that I “think” cause I’m not so sure, however, I’ll test it further, thanks @Darren

Not required, but that is the standard across most applications. You want to let the user know you are storing their email and password somewhere.

In my experience, this is not the case. Once the user has logged in, they are ‘in session’. Make sure none of your fancy security rules are doing anything weird! :wink:

Ahahahahaahah

Ok thanks

Thank for nice tutorial.
This Sign up form for entering “Email” (correct format of email) and “Password”, but how can I create the form for entering “User ID” (characters) instead of email address?

Hi @trungvn151174,

This component expects an email address (so it can be verified and unique) for signing up.

You could add a username field manually, but you’d have to add in all the extra logic required to make sure you don’t end up with duplicate usernames

1 Like

Speaking of that @Domhnall Is there a tutorial to use usernames instead of an email login? I am interested In this This for my app. I want to have a public leaderboard but want users to be able to remain anonymous and unidentifiable.

I think you’d still have to use email to login and the have a parallel lookup list with user names.

Usernames present some extra challenges though because you have to manage keeping them unique.

1 Like