Skip to main content

#External Application6 personnes en discutent

Hello, trying to upgrade our package from using a "Connected App" to an "External Client App" and I'm having trouble getting the client secret and key, for use in the webserver flow. 

 

We have 3 environments: 

1. org/dev hub (hub) 

2. package development (dev) 

3. package testing (qa) 

 

I tried creating the app in dev (local and packaged) and got "Insufficient Privileges" page after user verification.  

I read that it had to be created in a dev hub in order to be able to read it, so I enabled the dev hub on our environment hub, and tried there (again both local and packaged) and got the same "Insufficient Privileges" page. 

I created a local app in qa, just to see and I can reach the secret there, but I think that would mean our client would need to create an app for us to connect on, which is not what we want. 

 

Users for each env are System Administrators. I've also tried creating a permission set with the recommended permissions, but it wouldn't allow me to assign my sysadmin user. 

 

#External Application  #Consumer Secret

1 réponse
  1. 19 août, 17:00

    Hey Marc, 

     

    Two documented causes match your symptoms exactly: 

     

    1. Missing profile permission (most likely first check) 

    Your profile needs the specific permission "View all External Client Apps, views their settings, and edit policies." System Administrator profile usually has broad access, but this is a distinct, separate permission from general admin rights, if it's not explicitly enabled on your profile (or if your org customized the System Admin profile), you'll get exactly this "Insufficient Privileges" page after verification. Check Setup > Profiles > your profile > System Permissions, confirm this specific one is checked. 

     

    2. Permission Set License not synced to sandbox (matches your multi-env setup) 

    There's a documented issue where the External Client App framework requires a specific Permission Set License, and if your Production/Hub org has it but your Sandbox (dev/qa) wasn't refreshed after that license was added, the sandbox literally doesn't have the underlying license, so the UI permission stays inactive even for System Admins. Fix: Setup > Company Information > click "Match Production Licenses" in the sandbox, then check if the External Client App Permission Set License now appears under Permission Set Licenses. This would explain why qa worked (possibly synced more recently) while dev/hub didn't. 

     

    On your permission set issue specifically, permission sets can't grant this, it's a Permission Set License requirement, not a regular permission, that's likely why assigning it to your user failed or didn't help, licenses need to exist at the org level first before any permission set/profile setting can actually take effect. 

     

    Reference:

    https://help.salesforce.com/s/articleView?id=000384703&language=en_US&type=1

0/9000
Ramandra Yadav a posé une question dans #OAuth 2.0

We are performing a migration from a legacy Salesforce Username-Password OAuth integration to an External Client App using Client Credentials. To validate migration behavior, we need the org-wide setting "Allow OAuth Username-Password Flows"

enabled in our org. Could Salesforce Support confirm whether this setting can be enabled, whether any feature flags are required, and whether there are edition-specific restrictions preventing its availability? 

 

#OAuth 2.0  #Usernames  #Password  #Flows  #External Application

2 réponses
  1. 19 août, 16:55

    Hey Ramandra, 

     

    Himanshu's answer is accurate and matches what's actually being reported. Real-world evidence backs this up: even after explicitly turning on "Allow OAuth Username-Password Flows," users are still getting a "Username-Password Flow Disabled" error, confirming the toggle alone doesn't guarantee the flow will work, Salesforce's platform-level retirement enforcement can override it regardless of your org setting. 

     

    So to your three original questions: 

    - The setting existing and being toggleable doesn't mean the flow will actually function, this is confirmed behavior people are hitting even now 

    - Whether Support can override this for validation purposes is genuinely a case-by-case Support/AE conversation, not something the community can confirm 

    - Not edition-specific, it's the platform-wide retirement, not a licensing tier restriction 

     

    Practical suggestion: since you're already building the Client Credentials integration, validate it independently rather than trying to get the legacy flow re-enabled for a side-by-side. Compare against logs/behavior from your old integration instead of live-running both simultaneously, that avoids being blocked by something Salesforce is actively phasing out. 

     

    Reference:

    https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_oauth_username_password_flow.htm&language=en_US&type=5

0/9000

I went to YouTube and I did not find much of a discussion on the recent data breach incidents. I think it is very important we discuss these incidents and prepare our orgs for potential threats. Here is a video I made explaining my take:

How Did Hackers Steal Salesforce Data?

https://youtu.be/fEMeBiR6IY4#Security #External Service #External Application
3 commentaires
0/9000

Hi Everyone,

We’re currently facing challenges with the AppExchange security review process for our managed package. The application integrates Salesforce with an external Node.js-based web application.

While we’ve addressed most issues within the Salesforce managed package, previous security reviews have flagged concerns with the external web application. We’re looking for guidance or expert assistance from someone familiar with navigating Salesforce security reviews, particularly in scenarios involving external web applications.

If you know of any professionals who can help, please share their contact information or point us in the right direction.

Any help or advice would be greatly appreciated. Thank you!

 

#AppExchange  #Security Review  #External Application  #Integration  #Hiring

0/9000

Hello, has anyone built a grant application form using OFM? My implementation consultant said that SF is no longer supporting OFM. Is that true? Based on a video from SF this was a feature the system had (or has). Thanks for your input in advance! #Automation #Grants Management #External Application #Grant Application

10 réponses
  1. 9 juin 2022, 04:33

    @damian humphrey Yes - I've used the Requirements object to store budget and programmatic reporting information in OFM. And then in case we used FormAssembly (a 3rd party app) as the form tool that the grantees used to complete applications and reports. For another case, we used screen flows in a Salesforce Community/Experience for the forms the grantees submitted. It really came down to the experience the foundation wanted the grantees to have.    We have also built out customized Review process and portal where we created a mass review assignment and side by side review and feedback screen. As well as a custom Due Diligence/Compliance process that can be managed directly from the Funding Request page.  

0/9000

Hello, has anyone built a grant application form using OFM? My implementation consultant said that SF is no longer supporting OFM. Is that true? Based on a video from SF this was a feature the system had (or has). Thanks for your input in advance! #Automation #Grants Management #External Application #Grant Application

3 réponses
  1. 13 juin 2022, 00:51

    OFM is the foundation of the relatively new Grants Management offering, so it is supported and can be used with or without the Grants Management licenses that offer extended functionality, including Experience Cloud for applicants.

0/9000
Deven Goratela (TCS) a publié du contenu dans Salesforce CMS

Hi,

 

I am exploring various features of Salesforce CMS and I am right now working on using the Content from Salesforce CMS in an external application.

 

For that I reffered the blog "https://developer.salesforce.com/blogs/2019/11/content-delivery-api-to-extend-or-integrate-content.html" which has a mention about below Content Delivery API  

 

EndPoint URL

<b>GET:</b> /connect/communities/{:communityId}/managed-content/delivery

 

Now I have 2 questions here:

  1. From where can I find my "communityId" parameter?
  2. What should be the domain to be used before this endpoint URL while accessing it from external application?
6 commentaires
0/9000
1 commentaire
  1. 7 juil. 2019, 14:15
    If assume no, but not sure. I mean you have to speak with SF AE, if it's allowed in your contract. My understanding is, that the license is needed for viewing gantt diagram, mobile access via fsl app, to schedule a resource or as admin to setup fsl accordingly.
0/9000