Spring security using OAuth2 with Microsoft AzureAD B2C

Introduction

Microsoft Azure provides the capability to integrate social-logins in the application by using AzureAD B2C. The good thing about that is you’ll have a single Authorization server (Azure) and different IDP like Google, Facebook, GitHub, or any custom IDP.

To achieve this we need to create 1 B2C tenant and configure App Registration, IDP, and create UserFlow. The below video tutorial covers all these steps and guide you on how to integrate Azure B2C with spring security.

Sprint Boot, REST, MongoDB POC

Spring Boot + Rest + Mongo DB POC

Spring Boot

Spring boot is one of the hot technologies in the market that provides all on-demand libraries to make easy of developer work.  When I look back journey of Sprint from 3.x to Spring boot 2.x, there are a lot of changes and flexibilities provided by the framework. Spring boot bootstraps the application development process. In this article, I’m going to cover Spring boot, Rest, and Mongo DB application.

Mongo DB

Mongo DB is a document database, you can create data in different formats and persist JSON directly into Mongo DB.