pterodactor3000 / dmhub-web

Web access to DMHub repository https://github.com/davewx7/dmhub-wiki/wiki
https://hazel-delight-288708.oa.r.appspot.com/
MIT License
1 stars 0 forks source link

User Authentication #31

Closed davewx7 closed 2 years ago

davewx7 commented 2 years ago

Something we will need is to authenticate users -- letting them login so they can then view their games and other things.

We will need to use firebase authentication for this. https://firebase.google.com/docs/auth

We just need email / password authentication. None of the other methods are needed. Should be able to follow the guidelines under web to do it.

This is the api key to use: AIzaSyCp2iE9wj-sKjUy2w4-ndjEediUGvB5YwY

Once we have a basic login working we can use the authentication to give the user access to their games and other information.

pterodactor3000 commented 2 years ago

Sure, no problem, I think I can label it as high priority.

What about accessing other games? Will the search be needed?

pterodactor3000 commented 2 years ago

Do we also need registration or only login?

davewx7 commented 2 years ago

I think for now we can just stick with login, since users can register through the app. In the future we might allow registration through the web site?

Yes we should still have search functionality so you can view other games and so forth.

pterodactor3000 commented 2 years ago

No problem.

What if somebody wants their game private and not searchable?

davewx7 commented 2 years ago

Yes we should definitely have a way to make games non-searchable. I will add something for that.

pterodactor3000 commented 2 years ago

I believe just a flag for private or something, I think I mentioned that before somewhere :D

What will happen after log in? Default search view for modules and games or maybe after log in list of games of the user?