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

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

Комментарии • 74

  • @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 6 месяцев назад +2

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

  • @thahermohammed-s2g
    @thahermohammed-s2g Год назад +3

    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

  • @sridharchowdary-y6i
    @sridharchowdary-y6i 23 дня назад

    Access to localhost was denied
    You don't have authorization to view this page.
    HTTP ERROR 403
    getting this issues can you help me up ??

  • @VVeNqbMx0
    @VVeNqbMx0 Год назад +2

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

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

  • @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?

  • @gopisambasivarao5282
    @gopisambasivarao5282 Год назад +1

    Appreciate your efforts, Basant...

  • @devchouhan2436
    @devchouhan2436 8 месяцев назад

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

  • @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 📐

  • @praveshyadav3936
    @praveshyadav3936 5 месяцев назад +1

    Thats great bro.

  • @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 :)

  • @niharr7
    @niharr7 10 месяцев назад

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

  • @kamalk4917
    @kamalk4917 6 месяцев назад

    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

  • @anilreddy9654
    @anilreddy9654 Год назад

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

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

  • @weixiangng8279
    @weixiangng8279 4 месяца назад

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

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

  • @BalarajuKanike
    @BalarajuKanike Год назад +1

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

  • @rajkumarwinc9372
    @rajkumarwinc9372 9 месяцев назад

    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?

  • @zawedakhtar379
    @zawedakhtar379 Год назад +1

    Thank you for this video:)

  • @hashimp5262
    @hashimp5262 Год назад +1

    Very helpful content 👍🏻

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

  • @rushikeshkarkhanis7915
    @rushikeshkarkhanis7915 Год назад +2

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

  • @omaradrian80
    @omaradrian80 Год назад +1

    Thanks for the effort!!

  • @rajkumarwinc9372
    @rajkumarwinc9372 9 месяцев назад

    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.

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

  • @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 Год назад

    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?

  • @niharr7
    @niharr7 11 месяцев назад

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

    • @Javatechie
      @Javatechie  11 месяцев назад

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

  • @Kj-qj8bc
    @Kj-qj8bc 5 месяцев назад

    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

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

  • @prabhatmahanty3799
    @prabhatmahanty3799 Год назад

    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.

  • @udiptadas4936
    @udiptadas4936 Год назад

    captcha now working? anyone have same issue /

  • @roshanraj8727
    @roshanraj8727 9 месяцев назад +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  9 месяцев назад

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

    • @roshanraj8727
      @roshanraj8727 9 месяцев назад

      @@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 9 месяцев назад

      ​@@roshanraj8727no way

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

  • @vignesh3184
    @vignesh3184 Год назад +1

    Can we generate token using azure ad?

  • @RjDBIIPL
    @RjDBIIPL Год назад

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

  • @thahermohammed-s2g
    @thahermohammed-s2g Год назад

    how to logout once I logged in

  • @anilreddy9654
    @anilreddy9654 Год назад

    angular and spring boot rest apis azure ad project

  • @zawedakhtar379
    @zawedakhtar379 Год назад

    Basant sir is great

  • @rakibahmed1011
    @rakibahmed1011 Год назад +1

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