Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Login with firebase + spring on backend

This is my first web project so its also my first time doing a login, after a research the best guide I found is for firebase but the problem I have with it is that I need to have Users on my Spring database because I have relationship between entities that involves users Is still possible to use firebase having users on both sides, firebase and my own server database?

I found another way to do login with spring security but I didnt find good guides to integrate it with react

like image 265
JoseCarlosPB Avatar asked Jul 06 '18 02:07

JoseCarlosPB


People also ask

Should Firebase be in frontend or backend?

Firebase is a Backend-as-a-Service (BaaS) app development platform that provides hosted backend services such as a realtime database, cloud storage, authentication, crash reporting, machine learning, remote configuration, and hosting for your static files.

Can we use Firebase with spring boot?

Now that we have the private key, we can start integrating Firebase with our Spring Boot app. To start, place the JSON file in the resources folder under a new folder called firebase-config . Next, we need to add the Firebase admin SDK to our project using Maven.


1 Answers

I have the same problem. I found this Spring Boot example on GithHub. It shows an example of a Firebase-Spring boot integration.

like image 110
xcesco Avatar answered Sep 27 '22 20:09

xcesco