Microsoft Entra ID | Azure Active Directory Token Type | id_token | Access Token | Refresh_Token

Поділитися
Вставка
  • Опубліковано 7 вер 2024

КОМЕНТАРІ • 49

  • @BindasBadshah
    @BindasBadshah 4 місяці тому

    This episode alone deserve to be your subscriber. The way you have explained it has answered my 3 year old questions.

  • @petervangage6001
    @petervangage6001 10 місяців тому +1

    10/10!
    This is a great example and explanation of grant types!

  • @rosedev6327
    @rosedev6327 3 роки тому +4

    7 +Years of outlook stalking solved under 15 minutes. Love you! You deserve lots of money and good loving. Wishing you the best!

  • @MrKIRAN535
    @MrKIRAN535 10 місяців тому +1

    Great bro. Thanks for a lot for realistic videos

  • @akhileshsharma7831
    @akhileshsharma7831 4 роки тому +3

    You are great bro

  • @sheshanath
    @sheshanath 3 роки тому +1

    Great explanation sir..

  • @aashayamballi
    @aashayamballi 3 роки тому +3

    Thanks for the great demo. I just had one question. If I have a single page app or a native app and a backend API (django rest) completely independen of each other. In my case if my single page app/native apl wants to access certain data from backend API. And inorder to access the API, user should be logged in to the backend API.
    So what my approch is to make use of MSAL library to get the access token from the SPA/native app and then once token is acquired, pass that token to backend API, validate it, get the user info from graph api, if user is exists in the DB login the user and pass the required info. If user info doesn't exist then create the user, login and pass the info from API.
    So my question is when I pass the access token to backend api. How can we validate that the token which we passed to backend API is valid token or not?
    Is it just we need to make an API call to graph API? if it is able to get the user data then token is valid or if it fails then the token is invalid.
    Is it the general way to validate the token or some better approach is there? Please help

    • @ConceptsWork
      @ConceptsWork  3 роки тому

      Hello Aashay, You can have a logic defined where the issuer id of the token is verified, every tenant will have a specific token issue id.

  • @harshrajpal1828
    @harshrajpal1828 7 місяців тому

    Useful video, but couldn't understand refresh token, how it can be revoked.
    How token lifetime policy will impact the flow
    If we have sign-in frequency under conditional access policy, will the access token expire at sign in frequency?

  • @anastaskostov7859
    @anastaskostov7859 2 роки тому +2

    This video must be included in MS documentation.

  • @Sergio-Here-In-Community
    @Sergio-Here-In-Community 4 місяці тому

    Hello conceptworks,
    Very good explanation of tokens, I just have a question:
    that is the default expiration for access token from Entra ID connect?
    What is the difference between refresh token and Primary Refresh Token PRT?
    Best regards,

    • @ConceptsWork
      @ConceptsWork  4 місяці тому

      Refesh token is identity specific, however PRT is binded to each device.

    • @Sergio-Here-In-Community
      @Sergio-Here-In-Community 4 місяці тому

      @@ConceptsWork: Perfect.. thanks for your quick answer.
      love your videos.
      you way to explain is excellent.
      I will join again to the community
      you are very very good.

  • @niranmanandhar8517
    @niranmanandhar8517 2 роки тому

    Thanks

  • @tushaar9027
    @tushaar9027 Рік тому

    Thanks for the explanation.....Could you please let me know ...how to ignore session_state while sending it token endpoint

  • @gauravtripathi3128
    @gauravtripathi3128 3 роки тому +1

    Hi, it was very informative. i have one doubt though. In my case i want to run some thread in background just to sync users data in our system and as we know access token expire in an hour and then we can use refresh token to get new access token. let me know how i can make sure that my refresh token never expire so that i can grab new access token always.

    • @gauravtripathi3128
      @gauravtripathi3128 3 роки тому

      In my scenerio i can't ask user to authenticate him self every time and as we can't say when our refresh token will expire so this scenario can come anytime..

  • @listentomusic7563
    @listentomusic7563 3 роки тому +1

    Is Refresh token an application or user specific? can a refresh token be used to request access token for different application?

    • @sunilkms
      @sunilkms 3 роки тому

      is app specific..

  • @niharr7
    @niharr7 3 місяці тому

    How to encrypt the id token in azure ad/entra?

  • @matthayden1979
    @matthayden1979 4 роки тому

    Is this token can be compromised? I know it is Base64 encoded. However, can it still be tampered if it travels down the wire? Is there any other security provisioned for this token on top of Base64 or Base64 is enough?

  • @Nachibros
    @Nachibros 2 роки тому

    Is we get the refresh token in initial request itself via powershell instead of postman? Please advice on this

  • @dipakbachhav5950
    @dipakbachhav5950 2 роки тому

    How to generate an authorization code? Also can you please explain how i can use access token in the header instead of authorization token

  • @andreas956
    @andreas956 Рік тому

    What if we use SAML instead of OpenID?

  • @MoviesInAminute.
    @MoviesInAminute. 4 роки тому

    Hello Sir, please make a video on Exchange Hybrid mail flow

  • @dhirajpoojary9419
    @dhirajpoojary9419 3 роки тому

    Great Video I want small help is it possible to add the payload in refresh token also like expiration time and all?

    • @ConceptsWork
      @ConceptsWork  3 роки тому

      No customization of refresh token is not possible.

  • @karthick4657
    @karthick4657 3 роки тому

    Can you demo how to configure Azure AD tokens with Nginx. Would be helpful

    • @ConceptsWork
      @ConceptsWork  3 роки тому

      if you have anything very specific, reach out to me at learnconceptswork@gmail.com

  • @MaximilianoAnfuso
    @MaximilianoAnfuso 3 роки тому

    Hello, if i want to write an app that retrieves new mail in a mailbox without user interactions will application only token work in this case ?

    • @ConceptsWork
      @ConceptsWork  3 роки тому +1

      Yes that can be done, you have to access message endpoint.

  • @pratikt007
    @pratikt007 2 роки тому

    How to get new token using refresh token using postmen

  • @sandeshkadam2512
    @sandeshkadam2512 4 роки тому

    what is the liftime of these tokens?

    • @ConceptsWork
      @ConceptsWork  4 роки тому +1

      docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes

  • @rohitrajshukla
    @rohitrajshukla 3 роки тому

    hello sir ,
    can u please guide me i have MFA implemented and with that how can we use lifetime access token. please reply me .

    • @ConceptsWork
      @ConceptsWork  3 роки тому

      You can't implement lifetime access as there is token lifetime associated with each token.
      Alternative, build access token and refresh token model.

    • @rohitrajshukla
      @rohitrajshukla 3 роки тому

      @@ConceptsWork due to of MFA when ever i try to hit Refresh token api it gives an error.After that if i try to authenticate the user with CrmServiceClient and authtype client secret it error me "unable to login to dynamics crmorganizationserviceproxy is null" i am in very bad situation please help me new to dynamics.

    • @rohitrajshukla
      @rohitrajshukla 3 роки тому

      nemely.com/blog/connect-to-multi-factor-enabled-d365-cds-programmatically-online-9-1/
      i used this to implement. and thier is another way to implement using username and password then it works fine but not with client secret. Please help me

    • @rohitrajshukla
      @rohitrajshukla 3 роки тому

      @@ConceptsWork Hope u reply me soon.

    • @ConceptsWork
      @ConceptsWork  3 роки тому +1

      reach out to me at learnconceptswork@gmail.com

  • @itsdd9873
    @itsdd9873 4 роки тому

    Please upload the scripts..

    • @ConceptsWork
      @ConceptsWork  4 роки тому

      It's there in the description section of this video.