Oauth Authorization flows in Salesforce | Web Server flow | JWT Bearer token flow

Sdílet
Vložit
  • čas přidán 21. 07. 2024
  • 1- Creating Connected App and Managing Connected App usage
    2- Oauth Web Server flow (walkthrough with postman)
    3- Oauth JWT Bearer token flow (walkthrough with postman)
    4- Oauth JWT Bearer token flow (apex code walkthrough to integrate one salesforce org to another using JWT Bearer flow)
    0:00 Introduction
    1:48 Connected App
    2:32 How to created Connected App
    8:20 Change Connected App Policy
    14:10 View OAuth Usage
    17:57 Oauth WebServer flow
    19:35 Step Involved in WebServer flow
    19:55 Demo
    24:00 walkthrough with postman
    28:00 JWT Bearer token flow Introduction
    30:57 JWT Structure
    33:24 Oauth JWT Bearer token flow walkthrough with postman
    45:31 apex code walkthrough to integrate one salesforce org to another using JWT Bearer flow
    1:01:00 Named Credential

Komentáře • 101

  • @shades5816
    @shades5816 Před 3 lety +19

    NO ONE HAS DONE A BETTER JOB OF EXPLAINING THIS THAN YOU. THANK YOU SO MUCH. YOU HAVE UNMYSTIFIED THIS FOR ME.................

  • @satishakumar1073
    @satishakumar1073 Před 2 lety +4

    Very informative, E2E, I had tough times understanding named credentials, certifications, JWT related concepts, this cleared all. thanks a lot.

  • @einstu
    @einstu Před rokem

    Excellent quality. Very well explained

  • @DramaQueenAkshi
    @DramaQueenAkshi Před 2 lety +4

    Very helpful, so much informative. No one has explained better then Debarun Sengupta.

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

    Incredibly well explained demo. Great work!

  • @rajat19961
    @rajat19961 Před 3 lety +3

    Very nicely explained. This information is pure gold!!

  • @lakshmiiyer75
    @lakshmiiyer75 Před rokem +2

    This is one of the best session for JWT found for SF. Very well and point to point explained. Very well done Debarun. Thanks for this session.

  • @pankajjuneja8096
    @pankajjuneja8096 Před 2 lety +4

    csr is cert signing request using which you request the actual cert (crt) file from a CA (cert authority). You mentioned even csr also as certificate which is incorrect but overall a super good explanation of material

  • @aryaagnivesh29
    @aryaagnivesh29 Před 3 lety +3

    No explanation can be better than this, the presentation has one of the best brevity.
    Thanks for making this video. Great work & keep it up.

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

    Thank you! This material was utterly perfect!

  • @aritramukherjee
    @aritramukherjee Před 3 lety +1

    Nice explanation. And your work to host interesting developer sessions is awesome. Thanks for that.

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

    Wonderfully explained. Thanks for taking time to put this video

  • @shobhitsaxena108
    @shobhitsaxena108 Před 3 lety +1

    Thank you so much for this, you literally saved my job with this

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

    Excellent explanation with execution, it's worked
    Thanks for the Video

  • @yogarajkv1245
    @yogarajkv1245 Před 3 lety +1

    Awesome session. Very easy to understand

  • @karenvanessaurbina1720
    @karenvanessaurbina1720 Před 3 lety +2

    Great explanation, it helped me a lot. Thank you!

    • @apexhours
      @apexhours  Před 3 lety

      Glad it helped! Stay connected we are coming with all oAuth Flow soon in FEB

  • @ashokk4784
    @ashokk4784 Před 3 lety +1

    Great explanation! -Thank you so much.

  • @ayanchakraborty9055
    @ayanchakraborty9055 Před 3 lety +1

    Thanks for this helpful session!

    • @apexhours
      @apexhours  Před 3 lety +1

      Glad it was helpful! Keep watching

  • @stephenk4447
    @stephenk4447 Před 2 lety

    Wonderful Session!!

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

    Exactly what I was looking for. Thanks a lot!

  • @akramomair
    @akramomair Před 3 lety +2

    Nicely Explained. Thanks!

    • @apexhours
      @apexhours  Před 3 lety

      Glad it was helpful! Please like and share

  • @Kc-nn8mn
    @Kc-nn8mn Před 2 lety +2

    well-structured video, good job

  • @SalesforceUSA
    @SalesforceUSA Před rokem

    A very good video. I recommend this!

  • @ajeetshekhawat214
    @ajeetshekhawat214 Před 2 lety +3

    This is the best tutorial video I have ever seen. You absolutely nailed it.🙏

  • @venkatesansundaram3972
    @venkatesansundaram3972 Před rokem +1

    Thank you. Excellent post on this topic.

  • @varmaraj5835
    @varmaraj5835 Před 3 lety +2

    nice explanation with demo, AS i am looking for JWT implementation reference. thanks to Apexhours and team

  • @yesbutyouthen342
    @yesbutyouthen342 Před 3 lety +1

    Great video! Helped me with my poc :)

  • @JuanAdonisNunezCollado

    Thank you so much.

  • @thundergamer6770
    @thundergamer6770 Před 3 lety +1

    Debarun Sengupta you explain every concepts in detail and that too really well.
    Please do more sessions like this.Thank you so much.

  • @Vishal-cs8bp
    @Vishal-cs8bp Před rokem

    Awesome explanation

  • @user-df3bg7xe7i
    @user-df3bg7xe7i Před 11 měsíci

    Excellent Explanation

  • @shobhitsaxena108
    @shobhitsaxena108 Před 3 lety

    How can we use this procedure for post requests? On attempting, the request body was showing as null in the destination environment where the request was sent

  • @arifmohammad5419
    @arifmohammad5419 Před 3 lety +1

    Nice Video !!!

  • @naturelovers7718
    @naturelovers7718 Před 3 lety

    Hi have a question regarding the release update that is related to oauth "Enforce OAuth Scope for Lightning Apps". This release update says that this update enforce the scope of an Oauth token used to authenticate a Lightning app.This change prevent a Lightning app from using Oauth token with unintended permission. I am confused with this release update about the unintended permission. What does it mean???

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

    well explained.

  • @shubhambajare3043
    @shubhambajare3043 Před 2 lety

    I need to use this flow to verify guest user from the community site from only one org..does it work?

  • @rajucherukuri8789
    @rajucherukuri8789 Před 9 dny

    While importing .jks file I am getting following error "The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page".

  • @tirthankardutta1191
    @tirthankardutta1191 Před 3 lety +1

    It is very helpful and nicely demonstrated. Can you add another video about how to add additional custom claims in JWT authentication in the connected app side?

  • @mirzabaig8515
    @mirzabaig8515 Před 2 lety

    I am getting Error in "Oauth JWT Bearer token flow walkthrough with postman" can someone help me?
    grant_type = urn:ietf:params:oauth:grant-type:jwt-bearer
    here is the error:
    {
    "error": "invalid_grant",
    "error_description": "expired authorization code"
    }

  • @hishmatrai91
    @hishmatrai91 Před 3 lety

    Please guide me, i am getting following error..when i run from postman then it is working fine but if from any other domain it is giving following error
    Access to fetch at '@t from origin 'www.mywebsite.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
    I have already added the domain into CORS setting in salesforce.

  • @JayPatel-cy3bu
    @JayPatel-cy3bu Před měsícem

    How many times the "Nothing but" is used in this video?

  • @AliHusain-fo5sp
    @AliHusain-fo5sp Před rokem

    Why we don't use client secret for Authorization?

  • @sweetypanchal3637
    @sweetypanchal3637 Před 3 lety +1

    Thank you so much its very useful video. I have a question can we integrate Pardot using JWT Bearer token flow?

    • @apexhours
      @apexhours  Před 3 lety

      Glad you like. Not sure about pardot

  • @kraxmalism
    @kraxmalism Před měsícem

    you have done it in a way that it is extremely difficult to understand, for one who is trying to learn.

  • @kalpVyas26
    @kalpVyas26 Před 3 lety +3

    Can we have a video/session on different grant types flows as well? Is there anyways we can put questions to Apex Hours team?

    • @apexhours
      @apexhours  Před 3 lety +1

      Coming Soon. Keep posted your question

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

    Great explanation. Very useful video. Is the access token different from Session Id or both are same?

    • @apexhours
      @apexhours  Před 2 lety

      access token is used to access the application

  • @SSModi852
    @SSModi852 Před 2 lety +3

    This is the best video I found explaining JWT in detail within Salesforce. But I have a question. Why not generate a self-signed certificate within Salesforce instead of importing it from Java Keystore. Isn't it basically the same thing. With the button 'Self-signed certificate' you bypass all the hassle of creating a certificate and then converting to JKS format. Also I am wondering if you import from Java keystore its only the certificate, but what about the private key. Doesn't Salesforce need private key to create jwt in auth header.

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

      JWT needs x509 certificate. Hence CLI was used to convert the file format to jks to import into salesforce

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

      Thanks for helping Debarun

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

    Great explanation could you please let me know if I want to get information of second org Salesforce then I need to create connected app in second org and named credentials on first org?

    • @apexhours
      @apexhours  Před 2 lety

      We will create one session on same topic soon

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

    Brilliant tutorial just shy of perfection because you forgot to show us one very crucial step due to which it took me hours to figure out why I was getting error. For someone who directly jumps to JWT authorization flow, you should mention how to perform prior approval of client app. Otherwise we'll get an error in Post request "user hasn't approved this consumer".

  • @srutadebachanda199
    @srutadebachanda199 Před 3 lety +3

    How will I get the Slides presented here ?

    • @apexhours
      @apexhours  Před 3 lety +1

      check here www.apexhours.com/oauth-authorization-flows-in-salesforce/

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

    Hi Debarun Sengputa You absolutely nailed it (y) great job.. I have a question can we use JWT to integrate with third party (API Gateway) to Salesforce?

  • @dineshkumar_mp
    @dineshkumar_mp Před 2 lety

    This video is really helpful. Thanks for the content.
    But I'm facing error while converting pem file to jks file in the 3rd cmd "keytool -keystore //servercert.jks -changealias -alias 1 -destalias salesforcetest"
    Error I'm facing: Illegal option: -
    Please help me on this.Thanks.

    • @rajucherukuri8789
      @rajucherukuri8789 Před 9 dny

      You must have Jre installed in your computer to run keytool commands

  • @nitinzagade7334
    @nitinzagade7334 Před rokem +1

    I am not able to get the references slide.
    Can you please share the link

    • @apexhours
      @apexhours  Před rokem

      Check apex hours blog post for same

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

    Can you create a video to Use External Data Source With Auth Provider sending Azure JWT token in Header for another server to get data .This would be a great help.