How To Use The New Named Credentials (Summer '23 & Beyond)

Поділитися
Вставка
  • Опубліковано 30 січ 2025

КОМЕНТАРІ • 10

  • @andreinacuellorondon6866
    @andreinacuellorondon6866 Місяць тому +1

    Hi! one question, how do I know what is best, extend the "Auth.AuthProviderPluginClass" or implement AuthProvider?

    • @JustinWills
      @JustinWills  Місяць тому

      From the documentation the AuthProviderPlugin interface is deprecated. developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_Auth_AuthProviderPlugin.htm

  • @igorkudryk
    @igorkudryk Рік тому +3

    New named credentials are powerful, but so damn painful :D And as always, Salesforce creates new features without fully supporting old functionality.
    In the case of named credentials, it's storing the password and username named credentials :)

  • @MangeshKadam-s5x
    @MangeshKadam-s5x 6 місяців тому +1

    Are you setting the newly generated Callback Url from Auth Provider as the redirect URL in QB setup.

  • @vinayaksharma3666
    @vinayaksharma3666 8 місяців тому +1

    great job

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

    Can we use custom setting instead of metadata?

    • @JustinWills
      @JustinWills  Рік тому +1

      No. The auth. provider is coded to use metadata in the background. If you need to update values from your code, I recommend storing that information in a custom setting outside the named credential storage.

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

    Why didn't you use Open ID Connect for this?

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

      You may be able to use Open ID Connect