Firebase and Spring Boot Based Role Management and Authorization

In the previous post we configured spring boot security with firebase to seamlessly authenticate rest api ( https://thepro.io/post/firebase-authentication-for-spring-boot-rest-api-5V ) . In this post, we will restrict access to resources based on firebase roles. We are going to utilise firebase’s claims object inside UserRecord class to store roles, which is its actual purpose as per firebase documentation. To … Read more

Firebase with Spring Boot Kubernetes Deployment configuration

man in black and white plaid dress shirt

Firebase setup with spring boot is pretty straight forward and so is configuring it for kubernetes. Do check out my previous post on firebase for spring boot setup https://thepro.io/post/firebase-authentication-for-spring-boot-rest-api-5V In local development environment placing firebase service account file somewhere on file system and mapping it to environment variable GOOGLE_APPLICATION_CREDENTIALS is sufficient to get it working. Doing … Read more