mars3142 Blog

Godot and Firebase - Part 2

Login with Username/Password

Godot source code

The first part of this tutorial was about the backend setup and this part will handle how to use the Godot Engine to combine the custom backend and Firebase to create a login with username and password.

I highly recommend a layered architecture (like Game Development Center’s playlist for Dedicated Multiplayer), but within my sample I use only a single Godot project with the minimum code to use Firebase with Godot.


Godot and Firebase

Login with Username/Password

Godot source code

Multiplayer games need some form of user authentication. To build a custom backend is a hard part, but to create secure user authentication is another story. For saving the user/game state you can use different approaches. In my case I wanted to use Firebase, but the primary authentication for Firebase is via email and password. This will be a two part tutorial for using Godot with Firebase with username and password.