Introducing ‘firebaseauth’ Spring Boot Library

Introduction

How many times have you struggled with setting up security in your Spring Boot API? Well those days are over now that you can use the firebaseauth library to take care of that.

By following a simple set of steps you can have an…


This content originally appeared on DEV Community and was authored by Miguel Manjarres

Introduction

How many times have you struggled with setting up security in your Spring Boot API? Well those days are over now that you can use the firebaseauth library to take care of that.

By following a simple set of steps you can have an API secured with Firebase in a matter of minutes! You won't have to deal with custom filters, exceptions or the Firebase SDK for that matter.

Why?

When I first started to develop APIs with Firebase I struggled on how to set it up within Spring Boot since the documentation available was a little obfuscted, with this library I hope to help anyone that may have the same problems that I had. The project's README file has all you need to do in order to have a working, secured Spring Boot API.

If you are interested I would gladly appreciate that you leave a star in the project's repo here:

GitHub logo DevTony101 / firebaseauth

Spring-Boot library to abstract API authentication with Firebase

Firebase Auth License

If you need to protect your Spring Boot API with the help of Firebase quickly and stress-free then this is the library for you It will provide you with a simple yet powerful implementation to receive and decode a Firebase token and to put that information available in Spring's own security context.

Table of Contents

Features

  • Quick and seamless security setup for your API
  • CORS configuration and 401 error validations are already taken care of
  • The information obtained from the decoded firebase token is put directly in the security context with a default role if one hast not been provided by the token (more of that later!)
  • You won't need to manually read your firebase configuration file

Usage

Getting started

Before starting you need to make sure…

Thank you so much for reading! See you next time.


This content originally appeared on DEV Community and was authored by Miguel Manjarres


Print Share Comment Cite Upload Translate Updates
APA

Miguel Manjarres | Sciencx (2023-06-03T16:46:27+00:00) Introducing ‘firebaseauth’ Spring Boot Library. Retrieved from https://www.scien.cx/2023/06/03/introducing-firebaseauth-spring-boot-library/

MLA
" » Introducing ‘firebaseauth’ Spring Boot Library." Miguel Manjarres | Sciencx - Saturday June 3, 2023, https://www.scien.cx/2023/06/03/introducing-firebaseauth-spring-boot-library/
HARVARD
Miguel Manjarres | Sciencx Saturday June 3, 2023 » Introducing ‘firebaseauth’ Spring Boot Library., viewed ,<https://www.scien.cx/2023/06/03/introducing-firebaseauth-spring-boot-library/>
VANCOUVER
Miguel Manjarres | Sciencx - » Introducing ‘firebaseauth’ Spring Boot Library. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/06/03/introducing-firebaseauth-spring-boot-library/
CHICAGO
" » Introducing ‘firebaseauth’ Spring Boot Library." Miguel Manjarres | Sciencx - Accessed . https://www.scien.cx/2023/06/03/introducing-firebaseauth-spring-boot-library/
IEEE
" » Introducing ‘firebaseauth’ Spring Boot Library." Miguel Manjarres | Sciencx [Online]. Available: https://www.scien.cx/2023/06/03/introducing-firebaseauth-spring-boot-library/. [Accessed: ]
rf:citation
» Introducing ‘firebaseauth’ Spring Boot Library | Miguel Manjarres | Sciencx | https://www.scien.cx/2023/06/03/introducing-firebaseauth-spring-boot-library/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.