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

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 72

  • @dhirajnavale3861
    @dhirajnavale3861 ปีที่แล้ว +1

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

  • @lakshminathanrd5174
    @lakshminathanrd5174 4 หลายเดือนก่อน +2

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

  • @arnabneogi4237
    @arnabneogi4237 ปีที่แล้ว +3

    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?

  • @VVeNqbMx0
    @VVeNqbMx0 ปีที่แล้ว +2

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

  • @thahermohammed-s2g
    @thahermohammed-s2g ปีที่แล้ว +2

    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

  • @gopisambasivarao5282
    @gopisambasivarao5282 ปีที่แล้ว +1

    Appreciate your efforts, Basant...

  • @praveshyadav3936
    @praveshyadav3936 3 หลายเดือนก่อน +1

    Thats great bro.

  • @rajkumarwinc9372
    @rajkumarwinc9372 7 หลายเดือนก่อน

    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.

  • @KoppoluBalayogeeswar
    @KoppoluBalayogeeswar ปีที่แล้ว +1

    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

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      That token expiry limit you can set 📐

  • @RjDBIIPL
    @RjDBIIPL ปีที่แล้ว +1

    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

  • @weixiangng8279
    @weixiangng8279 2 หลายเดือนก่อน

    javatechie, if were to implement OTP after azure ad authentication how can I retrieve the email from the azure ad access token?

  • @balrajkanike1685
    @balrajkanike1685 ปีที่แล้ว +1

    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?

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Please correct your configuration in yml

    • @balrajkanike1685
      @balrajkanike1685 ปีที่แล้ว

      @@Javatechie that is almost same, and that credentials are successfully authenticating user without spring boot, I think here this request it self not going to azure ad login page because if any error in configuration azure ad login page display it there :)

  • @devchouhan2436
    @devchouhan2436 6 หลายเดือนก่อน

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

  • @rushikeshkarkhanis7915
    @rushikeshkarkhanis7915 ปีที่แล้ว +2

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

  • @zenitneziri4677
    @zenitneziri4677 ปีที่แล้ว +1

    @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.

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      In the first login attempt this issue appears but try in the new browser it will not give any error

  • @manee427
    @manee427 ปีที่แล้ว +1

    Amazing video. How can we access user details inside the controller?

    • @Javatechie
      @Javatechie  ปีที่แล้ว +1

      Pass the principal object and get user details.

    • @manee427
      @manee427 ปีที่แล้ว

      @@Javatechie thanks a lot

  • @BalarajuKanike
    @BalarajuKanike ปีที่แล้ว +1

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

  • @niharr7
    @niharr7 8 หลายเดือนก่อน

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

  • @kamalk4917
    @kamalk4917 4 หลายเดือนก่อน

    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

  • @rajkumarwinc9372
    @rajkumarwinc9372 7 หลายเดือนก่อน

    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?

  • @hashimp5262
    @hashimp5262 ปีที่แล้ว +1

    Very helpful content 👍🏻

  • @bboyfool215
    @bboyfool215 ปีที่แล้ว

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

  • @niharr7
    @niharr7 10 หลายเดือนก่อน

    Thanks Basant. How to retrive the id token and userinfo in spring App

    • @Javatechie
      @Javatechie  10 หลายเดือนก่อน

      No i don't think we can do that because it's an oauth security

  • @VVeNqbMx0
    @VVeNqbMx0 ปีที่แล้ว +1

    I want to store the users that authenticate via Azure AD inside a db. How can I get the user information after it logged in via Azure AD?

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      No you can't do that. That's completely violence the contract of auth delegation

    • @VVeNqbMx0
      @VVeNqbMx0 ปีที่แล้ว +1

      I need his first name,last name and email. What is wrong with wanting to store it?

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Yes these principal details you can get no problem with that

  • @anilreddy9654
    @anilreddy9654 ปีที่แล้ว

    How to call the api in postman what parameters need to send

  • @zawedakhtar379
    @zawedakhtar379 ปีที่แล้ว +1

    Thank you for this video:)

  • @jaswanthg3876
    @jaswanthg3876 ปีที่แล้ว +1

    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

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Thanks buddy for appreciating my work. Hope for the best 🤞🥰

    • @sajid.farooqi8074
      @sajid.farooqi8074 ปีที่แล้ว +1

      I think sir is working for the requested topic, hopefully we will soon see Multireading course

    • @Javatechie
      @Javatechie  ปีที่แล้ว +1

      Yes i will cover multi threading soon . It will be helpful if you guys could specify the usecase which you are looking for.

    • @sajid.farooqi8074
      @sajid.farooqi8074 ปีที่แล้ว +1

      @@Javatechie we are supposed to start from initial to advance level.

    • @jaswanthg3876
      @jaswanthg3876 ปีที่แล้ว +1

      @@Javatechie how multithreading used in the springboot

  • @prabhatmahanty3799
    @prabhatmahanty3799 11 หลายเดือนก่อน

    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.

  • @Kj-qj8bc
    @Kj-qj8bc 3 หลายเดือนก่อน

    Hi bhai, great video but one doubt, suppose we want keep the authentication and authorization same like we have azure and want to call this rest API from postman or Angular and want the token validation, from 2nd time onwards how can we do, could you please suggest

  • @omaradrian80
    @omaradrian80 ปีที่แล้ว +1

    Thanks for the effort!!

  • @roshanraj8727
    @roshanraj8727 8 หลายเดือนก่อน +1

    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

    • @Javatechie
      @Javatechie  8 หลายเดือนก่อน

      Good to hear this roshna , if you want to encrypt in yml file then can use jasypt

    • @roshanraj8727
      @roshanraj8727 8 หลายเดือนก่อน

      @@Javatechie Is there any way to directly access the codes from azure active directory from spring boot app instead of having them in .yml file

    • @rajkumarwinc9372
      @rajkumarwinc9372 7 หลายเดือนก่อน

      ​@@roshanraj8727no way

  • @surajpandey7533
    @surajpandey7533 ปีที่แล้ว

    Sir, I have a large pdf (50 pages) in that pdf I want to put data in some fields of that pdf and after that send it to user..
    Could you please make a video on that to write content to html pages and after that convert to pdf.

  • @indibizz1724
    @indibizz1724 11 หลายเดือนก่อน

    Hello admin. Can I make one package for authentication in spring for user verification and configure with my existing Java and .jsp project? Using azure ad ..is it possible?

  • @balrajkanike1685
    @balrajkanike1685 ปีที่แล้ว +1

    Is it possible to authenticate user and get user group details like this? Please reply

    • @Javatechie
      @Javatechie  ปีที่แล้ว +1

      User details means you can get name and email i don't think we can extract other fields

  • @RjDBIIPL
    @RjDBIIPL ปีที่แล้ว

    hi sir, i need global access microsoft azure active directory,can you post as soon as possible

  • @vignesh3184
    @vignesh3184 ปีที่แล้ว +1

    Can we generate token using azure ad?

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Which token?

    • @vignesh3184
      @vignesh3184 ปีที่แล้ว +1

      @@Javatechie jwt or session token

  • @zawedakhtar379
    @zawedakhtar379 ปีที่แล้ว

    Basant sir is great

  • @udiptadas4936
    @udiptadas4936 ปีที่แล้ว

    captcha now working? anyone have same issue /

  • @thahermohammed-s2g
    @thahermohammed-s2g ปีที่แล้ว

    how to logout once I logged in

  • @anilreddy9654
    @anilreddy9654 ปีที่แล้ว

    angular and spring boot rest apis azure ad project

  • @rakibahmed1011
    @rakibahmed1011 ปีที่แล้ว +1

    Please..... Make video on the new Spring Authorization Server.!!!