Spring Boot Security With Azure Active Directory | OICD | Oauth2 | JavaTechie

preview_player
Показать описание
In This tutorial I will walkthrough on how to secure a Java Spring Boot Application using Microsoft Azure AD, which is a great and widely adopted example of a reliable Identity Provider

👉 Create Azure Active Directory instance & new Tenant
👉 Add an application registration for your Spring Boot app
👉 Add a user account to your directory, and add that account to an appRole
👉 Configure and compile your app

#JavaTechie #SpringBoot #Security #AzureAD

Spring boot microservice Premium course lunched with 70% off 🚀 🚀

Hurry-up & Register today itself!

PROMO CODE : JAVATECHIE50

GitHub:

Blogs:

Facebook:

Join this channel to get access to perks:

guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie

Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account
Рекомендации по теме
Комментарии
Автор

Bro last week I was just thinking what is Azure active directory and here is a video by you thank you so much

dhirajnavale
Автор

How to get and print accessToken that is provided by Azure AD after authentication?

lakshminathanrd
Автор

with Azure AD if user logged in once then we don't need to ask again username password how to do this with spring boot and azure thanks in advance

ychoohb
Автор

Hey Basanth, this is very helpful.
But how can you integrate this with spring security and apply filter?
Example, if I want to implement this with api-gateway and want to implement authentication to only a few APIs, I would need to implement spring security.
How can I do that using azure authentication?

arnabneogi
Автор

You are one of the most underrated youtuber
But eventually you will reach out to 1M
Thanks for the videos
Also if possible try to do the videos on Multi threading it would be helpful

jaswanthg
Автор

Hi Basant, if we search for any videoos we will get your videos on top first. Thanks for your efforts.

How to get access_token, refresh_token, id_token, client_info, expires_in, token_type, scope etc... details when user logged in.

rajkumarwinc
Автор

Why do we need to use
server:
forward-headers-strategy: native ?

VVeNqbMx
Автор

do me a favor sir i need to access Azure AD directory with personal mcrosoft accounts only, Need to access my tenant from personal microsoft accounts . reply ...please

lwjngpe
Автор

Thanks for the video. Can you built frontend (Full Stack Application) React/Angular and Spring Boot ??

rushikeshkarkhanis
Автор

Hi sir. I have a application where my FE is react and is deployed to a app service in azure and it is authenticated using Msal. It calls my BE spring boot app deployed to another Web app in azure . How to I need to configure security in this scenario as my FE does authentication and it receives token. Do I need to validate that token or Altogether create a new app registration for my BE app or make use of existing client to validate the token send from FE

kamalk
Автор

Nice explanation, i was thinking of a poc on this and i got all information through your channel ❤. If possible can let me know how can i encrypt the tentanid, client id in application.yml,
Thanks in advance

roshanraj
Автор

Nice tutorial, thank you
How about the logout feature, or how can we force logout from springboot application. Hope you have another demo

bboyfool
Автор

Hi basant, is it possible to get access_token attribute here?

BalarajuKanike
Автор

Hello Basant bhai, this video is very helpful. I have a doubt. My requirement is to fetch the microsoft form data by using graph api. So, here how and where I register the microsoft form url so that I will get the data as response.

prabhatmahanty
Автор

I have a two api's they are preserved with azure ad how can I communicate with them using resttemplate

devchouhan
Автор

Hi Basant, currently I'm working on Azure ad SSO, could you please help me on, How to implement logout of Azure ad logged in user?

rajkumarwinc
Автор

@JavaTechie I am trying to create a tenant within Azure AD, in order to put some users there and connect to a backend project. But I can't create a tenant at all, when I go to the manage tenants, the create tenant button is not clickable at all.

p.s Also when entering Azure AD I have no primary domain (I tried to enter a custom domain the button is not clickable too) if this is a relevant factor to above issue.

zenitneziri
Автор

Based on your video the server maintains the cookie for the subsequent requests to validate, how do we achieve passing bearer token to validate ont he authentication is done on azure, basically i want to achieve stateless after you authenticate in azure for next 1hr e.g. based on your oAuth token expiry

KoppoluBalayogeeswar
Автор

Instead of client secret i would like to implement private key jwt based client authentication. How to do that?

niharr
Автор

Hello i just recreated this but finally it is redirecting to default login page from spring server, not redirecting to Azure AD login page. Why?

balrajkanike