Firebase Auth
Firebase Auth provides many social media login out of the box. We have utilized it and already implement Github and Google login inside our web client.
Setup Google Login
Setup up sign-in method
Choose the google provider and enable it
Setup Github Login
Choose the GitHub provider and enable it
Copy the callback URL to your Github app configuration
Log in to your GitHub account, click your avatar, then click setting
Click Developer settings from the left sidebar
New OAuth App
Register a new OAuth application
Copy Client ID
and Client Secret
And paste it back to firebase auth setting
Remember to add your production domain to authorized domain
Repeat the same steps to create firebase auth for the production environment.