spring boot - Firebase Auth for Java -
i writing application uses oauth on front end of application using firebase auth. want use logged in validation calling backend controller on spring boot app. there way ensure that:
1) user token valid
2) retrieve information user via token
3) ensure token comes app?
documentation kind of sparse except javadoc, wasn't sure if provide guidance.
may late answer this.
you can follow link configure spring boot application, app follow firebase security (i.e have update app.yaml file security config).
and on client side add header follows, authorization: bearer
so if follow above steps 1 question addressed.
for 2nd question can follow link give client code access user details.
i not sure 3rd question.
Comments
Post a Comment