IlahiTechnologies / trustourduty

A Open source Backend Portal for non-profit Organization to manage people and accountings https://www.trustourduty.org/
trustourduty-bice.vercel.app
GNU General Public License v3.0
1 stars 3 forks source link

Add Login / Logout Page For Trust Our Duty #3

Open zeenfaizpy opened 2 years ago

zeenfaizpy commented 2 years ago

Add login / logout Page for trust our duty ( with Firebase Auth Integration ).

All Secrets / credentials will in in .env file ( don't commit in public )

abhinavbansal19961996 commented 2 years ago

Working on it

abhinavbansal19961996 commented 2 years ago

@mohamedashic I am thinking of below thing: On the header a login button to the top right, when we click on it, a dialog box appears showing below options (What options we want to keep, we can discuss). The dialog box options will look something like below

image

To signout similarly, a singout button on top right. Very simple and clean UI. Let me know your thoughts on it.

mohamedashic commented 2 years ago

@abhinavbansal19961996 we added the firebase container kindly accept the invitation @zeenfaizpy

abhinavbansal19961996 commented 2 years ago

done

mohamedashic commented 2 years ago

@abhinavbansal19961996 i think the login with the Gmail is better option as it will keep simple moreover we can discuss it let me know your favourable time

abhinavbansal19961996 commented 2 years ago

Available now for sync up? @mohamedashic

mohamedashic commented 2 years ago

google meet ?

abhinavbansal19961996 commented 2 years ago

sure. pls share link

mohamedashic commented 2 years ago

https://meet.google.com/vaw-dfma-jvc

zeenfaizpy commented 2 years ago

As we discussed in the meeting, Create a simple login with email and password. There is no registration process and all users will created thru firebase admin.

CC @abhinavbansal19961996 @mohamedashic

zeenfaizpy commented 2 years ago

@abhinavbansal19961996 Login page should be like this https://codesandbox.io/s/ncc3q

abhinavbansal19961996 commented 2 years ago

I am confused now. What we discussed on slack and what you are saying, are they not two different things? According to me what we discussed on slack: We are going with modal approach as implemented by medium as its easy and plug and play. (and also, we can add as many auth as we want as we are using firebase ui) Let me know if you see any drawback with above as i have already implemented above.