API Authentication with OAuth using Azure AD

Sdílet
Vložit
  • čas přidán 28. 06. 2024
  • Join this session to learn how to secure Web API’s using OAuth2 and Azure Active Directory using Client Credential flow ( Client ID + Secret ). The most common scenario is when your application has a resource ( api ) that needs to be securely consumed by one or more non interactive clients (e.g console apps or bash scripts). This pattern allows each client to have their own credentials to access the secure resource. With this approach, app team can control each client and provides ability to rotate the client secret or disable access to resource entirely.
    Download slide deck: nzpowerlunchfiles.blob.core.w...

Komentáře • 54

  • @jshriram6
    @jshriram6 Před 10 měsíci +3

    I spent close to 4 days looking for a good demo on client + API registration and usage. This video saved me finally! Thanks a lot. It's amazing how many talentless people upload tech videos these days.

  • @nagbalkur1365
    @nagbalkur1365 Před 2 lety +11

    One of the best presentations I've ever heard in a short duration. Outstanding. hope more such videos will be made.

  • @wayneschroder6643
    @wayneschroder6643 Před 2 lety +2

    Excellent talk! Succinctly hit on the core points, showing exactly how to implement the security setup. Thank you!

  • @tymofiidmytrenko3418
    @tymofiidmytrenko3418 Před 10 měsíci +1

    Great explanation. Concise, straight to the point, clear. I was confused a bit after reading Zscaler's guide to OAuth2.0 setup and this video put everything in order. Thank you.

  • @sumitdas8731
    @sumitdas8731 Před rokem

    One of the best presentation so far I have learnt OAuth and utilisation in APIM. Thank you !!

  • @o_nana4637
    @o_nana4637 Před 8 měsíci

    This video tutorial was so good. Got clear understanding of how app registrations work and most importantly how resource side integration with AAD works. Essentially AAD is a middle trusted entity that both client and resource registers, and then we introduce the concept of roles to better manage permissions, which would have been a hassle otherwise as we'd have to assign and validate permissions from resource code side for each client on a case to case basis.

  • @amarantes2001
    @amarantes2001 Před 2 lety

    Excellent, core points well explained with no workarounds. Thanks for the tutorial

  • @horariojoselo7178
    @horariojoselo7178 Před 2 lety

    Thank you very much for this tutorial gentlemen!

  • @gopikrishnag41
    @gopikrishnag41 Před 2 lety

    Excellent demo & thanks a lot🙏

  • @morelias
    @morelias Před rokem

    Thanks for sharing this resource, I am implementing this in a new system and it helps me a lot!

  • @alanmangroo3656
    @alanmangroo3656 Před rokem

    Great presentation. Very clear explanation.

  • @dineshghegade8716
    @dineshghegade8716 Před rokem

    Excellent content and presentation too!! Thanks for shating

  • @SlamSector
    @SlamSector Před 29 dny

    You're a life saver. I spend an insane amount of time on this.

  • @OCARBALO
    @OCARBALO Před rokem

    Really good video! Thanks for sharing!

  • @yogitadesai1988
    @yogitadesai1988 Před 2 lety

    very helpful video Maulik...

  • @sridharm508
    @sridharm508 Před 2 lety

    My all doubts are clear.Thanks

  • @faithyintii8457
    @faithyintii8457 Před rokem

    This a really good tutorial, thank you so much. !!!!

  • @rickyroh3600
    @rickyroh3600 Před 2 lety

    you saved my day. Thanks a lot.

  • @DeviGrace
    @DeviGrace Před 2 lety

    Great thanks for the Knowledge shared!!!!!

  • @octaviansirbu1192
    @octaviansirbu1192 Před 2 měsíci

    Honestly really great presentation. I almost feel a bit bad because it looks like people didn't have any questions and looks like they were a bit disengaged from the presentation because of that, but maybe that's not the case and they were paying attention in the call. Either way I just wanted to say thanks, your presentation was incredible, exactly what I needed for my use case.
    The only thing that I'd say is I wish you showed the Graph Explorer right after assigning the role when you said there's multiple ways of doing this. Because when I heard I need that consent to move forward I stopped, looked for the admin, sent a bunch of emails, waited a couple days to get the access, and then I continued the video and found out it was possible to do it by myself using the Graph Explorer. That would be the only thing that I'd change, I'd just put that right after that manual role assignment so that people know right away that there is another way without waiting for admin approval and how to do it.
    But really great demo, loved it, keep up the good work!

  • @babakb2k8
    @babakb2k8 Před 9 měsíci

    Awesome video!

  • @ranjithn2827
    @ranjithn2827 Před rokem

    Very helpful thank you.

  • @hiicharles
    @hiicharles Před rokem

    Finally found the step to setup azure ad and step to get access token without the need to login.

  • @sberthu
    @sberthu Před 2 lety

    thank you very much for this video

  • @giliandal-pra2794
    @giliandal-pra2794 Před rokem

    Sir, perfect explanation. Thank you!

  • @Kunal4980
    @Kunal4980 Před 2 lety +1

    How to use Bearer Oauth using ADF pipeline ? I tried but not clear about how to do it...

  • @microsoftsoft3014
    @microsoftsoft3014 Před 2 lety +1

    Nice video, good explanation, I have a question, can I implement OAuth2 authorization with code flow to call an API from another API?

  • @niteshkhambe4144
    @niteshkhambe4144 Před rokem

    Nice video.... A perfect explanation, this is what I was looking for. Hit the like button..... gonna share with my colleagues and also Channel Subscribed channel as i'm gonna need more such understanding related to Azure. Thank You!

  • @samuelgit
    @samuelgit Před 2 lety

    very interesting video. Do you have a video or sample with net core 5 web api and client? using the actual AD B2C?

  • @harshildoshi3299
    @harshildoshi3299 Před 2 měsíci

    This was very helpful. Any idea on how to configure scopes when there are 2 App registrations involved? Should the scope of Consumer match the Resource?

  • @VictorMo
    @VictorMo Před rokem

    is there a video for Authenticate an IMAP, POP or SMTP connection using OAuth

  • @rajkumarreddy8795
    @rajkumarreddy8795 Před 2 lety

    Thanks

  • @marian6040
    @marian6040 Před 11 měsíci

    Wat a great explanation. Is there a way for me as a learner just starting to do this with a trial account?

  • @anandkumargmail
    @anandkumargmail Před 2 lety

    Thank you does this OAuth works for retrieving message traces?

  • @IamSandeepKmr
    @IamSandeepKmr Před 2 lety

    Where and how is a link specified between "Resource" app and your api? How api make use of role "FileUpload" so to allow uploading files and not other action (say download)?

  • @abuh.dahdah
    @abuh.dahdah Před rokem

    on the authentication tab, should we uncheck ID Tokens or Access Tokens?

  • @RahulMagare-rn9jg
    @RahulMagare-rn9jg Před 12 dny

    we are getting the bearer token in the response but its valid for the 1 hour so how we can make that token valid for 30 min only ?

  • @user-tf8lw3vu1u
    @user-tf8lw3vu1u Před 6 měsíci

    Excellent , very much userful , can u pls do the interospect of token with OIDC plugin

  • @mainenterprise872
    @mainenterprise872 Před rokem

    When I created a new app registration, there was no role option anymore.
    What would be the alternative step? As the second app registration can't select this role?

  • @harshats1
    @harshats1 Před 2 dny

    how to change "exp" jwt claim in azure entra ID

  • @sudhirkk007
    @sudhirkk007 Před rokem +1

    Only half part was good like how you register api and role in azure ad. But did not explain how and what security config file u created file upload apps. How you integrated your file upload application to azure ad? What dependence you added for file upload apps. 🙃🙃

  • @sweet_time_with_coffee

    Is any API is available for multi factor authentication ?

  • @ashishamlani5676
    @ashishamlani5676 Před rokem

    How would you refresh the token after it expires using a refresh token?

  • @chaitanyasarjeraogomkar6452

    Sooo trueeee

  • @FeelTheWay
    @FeelTheWay Před rokem

    Thanks but it seems incomplete to me.
    How to configure an API so that it is accessible only via the Role contained in the token ?

  • @kiyomiku
    @kiyomiku Před rokem

    What if instead of using client secret, I want the users to log in to ad to abtain bearer token for their own credential?

  • @TellaTrix
    @TellaTrix Před 2 lety

    How does MSAL fit into this client credential flow ?

  • @pravinrastephen7059
    @pravinrastephen7059 Před rokem

    Can someone help me with the source code/Implementation for this demo provided.

  • @shubhamkumar_noob_cs-go_pl581

    in my client1 app while giving api permissions , nothing shows under apis column

  • @shahbinit
    @shahbinit Před 7 měsíci

    How is the Java ValidateToken method called? When your API is called, how will ValidateToken method be called?

  • @AdrianVrabie
    @AdrianVrabie Před rokem

    this doesn't work anymore:
    Specified tenant identifier is neither a valid DNS name, nor a valid external domain.
    Edit: instead of common in the oauth2 url, replace common by your Client1 Directory (tenant) ID
    20b3c169-a473-44f3-bdb8-483d978ba462

  • @jagdishnarayanan6365
    @jagdishnarayanan6365 Před 6 měsíci

    Excellent. How to authenticate from SSis

  • @anuradhasapakale
    @anuradhasapakale Před 2 lety

    Can I have the code for reference?

  • @vipuldawar88
    @vipuldawar88 Před rokem

    How does work with MSI