Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [connected-apps]

A Connected-App is an integration of an application with a Salesforce Org using APIs that uses standard SAML and OAuth protocols to authenticate, provide Single Sign-On, and provide tokens for use with Salesforce APIs. Admins have the ability to set security policies and have explicit control over who may use the connected application which runs external to Salesforce.

1
vote
1answer
26 views

Jenkins fails to create Scratch Org

I have a CI process runnning in Jenkins. The script is pushing everything to the devHub org and creating a package version. Next, it's trying to create a scratch org but is failing and throwing this ...
1
vote
2answers
26 views

How to get the Connected App used from an Apex trigger [duplicate]

I have an Apex Job that is being triggered from an 'afterInsert' trigger, but I don't want that Job to be executed if the insert is being performed by a specific external application. I just need to ...
1
vote
0answers
15 views

How is consumer secret key adding security to Oauth 2.0? [duplicate]

I am trying to understand what additional security the the consumer secret(client_secret) for OAuth 2.0 provides. If one want to avoid using the consumer secret when authenticating you can use the ...
0
votes
0answers
11 views

Connect Salesforce Bounce notifications with Pardot Bounce notifications

We are going to enable email bounce return as attachment to sender and email bounce pop-up notification in lightning. Bounce notification and tracking is native in Pardot, and we would like a way to ...
2
votes
0answers
29 views

Errors with Web Server OAuth Implementation

I am trying to implement Web Server OAuth flow from one Salesforce Org to another. Following is the Class which contains the logic. I am hitting custom rest api to insert Accounts using the access ...
0
votes
0answers
54 views

Missing information when deploying Connected App

I want to deploy a connected app in an other orgs but there is some parameters I can't find in the Metadata API (Can't find parameters in the screen shot) For exemple, I can't find a way to set the ...
0
votes
0answers
19 views

Not Listing Scratch Orgs in SDFX CLI

When I create a scratch org I get an error but the org gets created anyway. The error I receive is "ENOENT: no such file or directory" which I don't think is related to DX. There is no way for me to ...
0
votes
0answers
12 views

OpenId Connect Silent Renew being blocked by Remote Access Authorization Page

I've got a connected app inside of Salesforce using OpenID Connect with the implicit flow. When the process of SilentRenew kicks in the response back is not directed towards the redirect_uri stated in ...
4
votes
1answer
88 views

API calls to Salesforce from standalone application

We plan to have an application on an internal server that fetches data from one source, manipulates it, sends it to Salesforce using Rest APIs. I have some questions: Do I need to have a connected ...
0
votes
0answers
26 views

We can’t log you in because of the following error. For more information, contact your Salesforce administrator. NO_ACCESS: Unable to find a user

I have created a connection with Keycloak and am trying to log in to salesforce using the Keycloak's authentication. I have configured open id configuration using salesforce manual and also given the ...
0
votes
1answer
27 views

Salesforce Oauth Token for Public apps

How the Workbench and other Public apps get access token for salesforce Even we didn't create any Connected App for that and Even for Sign in they redirect to standard salesforce login Page.I checked ...
0
votes
0answers
12 views

Configure issue salesforce to mulesoft using connected app

I have created connected app in salesforce dev enviorment(https://login.salesforce.com) and given Selected OAuth Scopes full access. Connection type is Oauth Username password in this passing the ...
0
votes
1answer
24 views

Connected App running user

I've created a connected app for integration usage and I put a specific Sys Admin running user for this - But when data is sent via the Web Service that the integration created - Its still put me (my ...
0
votes
1answer
40 views

Salesforce DX connected app

I am trying to build a connected app- connected to our prod environment so that our developers could spin up scratch orgs and work there, however I dont want them to be able to use org:login and ...
1
vote
1answer
74 views

Cannot get apexrest api call to work - INVALID_SESSION_ID

So I would like to expose a custom rest api endpoint in sales force to access and update by custom object. My Apex Class looks like @RestResource(urlMapping='/v1/gcxintegrateddata/*') global with ...
2
votes
0answers
105 views

Canvas App Previewer gives “Cannot POST /” error for Node app

I'm running a node app on heroku that that I am trying to pull into a Canvas App, The Canvas App Preview error simply says "Cannot POST/". When I look at my node server debugger for local host it says ...
0
votes
1answer
76 views

Query Contact using metadata api from soapui or postman

I am working on an assignment where I need to pull specific fields on the contact object with metadata api using Postman or SoapUI. The metadata api works fine from Salesforce workbench using the ...
0
votes
1answer
20 views

What's the difference between these two connected apps?

I've included a connected app in a managed package, but the one on the packaging org looks different to the one on a target developer org after I've installed the package. On the packaging org I find ...
1
vote
2answers
40 views

Issue getting Salesforce Data Using REST API

Well, first am all new into the REST API's. I am not getting what I am doing wrong. Below are the steps I am following: Created a Lightning Connected App and got CONSUMER_KEY and SECRET_KEY. Hitting ...
2
votes
1answer
114 views

UserInfo.getSessionID() or connected app with consumer key and secret for a rest resource within a same org

I have a rest resource (developed by a vendor) that I am calling in my batch apex class that posts some data. The code is as below and works in partial and dev sandboxes but not in full sandbox as the ...
0
votes
1answer
16 views

Is it possible to use a Connected App in Customer Community?

I have researched Salesforce documentation and found out that it is possible to enable Salesforce as an identity provider. Then you can create a Connected App, and do the proper configuration in ...
0
votes
1answer
29 views

OAuth2 User-Agent Flow: how to tell when access_token expires?

I'm using the User-Agent flow, and I successfully get back a, access_token. From here I have no way to determine when this token expires. I was hoping, that calling the https://test.salesforce.com/...
1
vote
0answers
20 views

Hosting connected apps from developer account

From Salesforce documentation it seems that a Developer account is the proper place to run / "host" my Connected App indefinitely, for production usage. Is that accurate, is that what others do? My ...
0
votes
1answer
34 views

How to find the mandatory fields on Sobjects in RestAPI /describe

I am trying to create an oAuth based app that integrates with salesforce to create the objects from the app. To let users know what all fields that users needs to put in at minimum to create the ...
0
votes
1answer
18 views

Push changes to connected apps

Does Salesforce support pushing changes to integrated services? Im creating integration from our system to Salesforce and we use products, users can create orders from our system so product data must ...
9
votes
1answer
51 views

Position of select options in connected canvas app

I have a connected app that is being used to iframe in an external web application as a apex:CanvasApp. This works well, except something has started occurring with HTML select controls in Chrome 67....
0
votes
0answers
24 views

Disable custom connected app from profile

I have a custom connected app that is used for OAuth purposes (outside of Salesforce). Therefore I don't need it to appear in the app launcher, unfortunately I see no way to remove it, at least for ...
12
votes
1answer
122 views

Can a Login Flow know which Connected App started it?

I want to show different screens based on which connected app is used to login to Salesforce. Can the login flow somehow know which connected app is used? There are multiple Login Flow variables we ...
1
vote
2answers
379 views

Can not authorized connected app on Sandbox [closed]

I have an connected app configured on my prod instance, that I use for my Production, my Staging sandbox (Partial Copy) and my Developer sandbox (Blank Sandbox). When I use the app credentials (...
1
vote
0answers
53 views

Mulesoft connector for SFDC and custom restresource

can you confirm that Mule connector for SFDC allows "only" to perform common actions (read, update, delete, create) on standard SFDC objects (such as Account, Contact, ....)? Consider, for example, ...
1
vote
1answer
226 views

How to pull Connected App Settings for Permission Set

I have a permission set that has connected apps assigned, but I am unable to view them when I pull down the metadata. I've tried using MavensMate and ANT. Is there something I'm missing?
0
votes
0answers
63 views

Force Salesforce1 to Open Salesforce Inbox on iOS

I am working on creating a custom attribute for Salesforce1 on iOS that will force the Salesforce Inbox app to open when tapping a contact's email address in Salesforce1. I have been reading through ...
3
votes
1answer
114 views

How does the automatically created connected app works when I use workbench?

I've read this article but I'm still confused about what happens when I approved the access from workbench. The connected app "Workbench" seems automatically created in my org when I approve the ...
1
vote
1answer
94 views

Get Connected App used for authentication in apex code

I created connected apps for various integrated systems in our landscape, that use custom developed REST endpoints to access specific data from our salesforce org. I have separate apps per system, ...
1
vote
1answer
264 views

Does the consumer key and secret for a Connect App change on sandbox refresh?

The docs mention the terminology involving the consumer key and secret, but I have not come across anything that effects their original values when you do a sandbox refresh. Long story short, one of ...
1
vote
1answer
129 views

salesforce api calls for connected app

I've a connected app in salesforce and I'm using bulk api for downloading xml files but for updates I'm using getupdate rest call, salesforce documentation says that there's a limit of api calls per ...
0
votes
0answers
17 views

Error when setting up Files Connect with SharePoint Online

When I setup the external data source and "Start Authentication Flow on Save", It forces an authentication and I am asked as an Admin to trust SalesForce.com which I do "Trust It" but SalesForce ...
1
vote
0answers
254 views

How to send push notifications to IOS devices via Firebase Cloud Messaging

I created a connected app with Push Messaging enabled and the "Android GCM" option selected for the Supported Push Platform. For the api key, I am using the legacy key of my Firebase Cloud Messaging (...
0
votes
0answers
131 views

How can i write unit test for JWTBearerTokenExchange class

I have create a connected app and authorized in another org and get accessToken for login after that added the username and instance url of another org in custom object and with help of username and ...
0
votes
1answer
135 views

Salesforce to android Native App connetivity Using Access Token

Unable to get access token. here my code given below public class MainActivity extends Activity { private static final String query = "SELECT Name, Idfrom Account"; private static final String ...
0
votes
0answers
172 views

Pass dynamic parameters to SAML response in a connected app

I have a connected app that uses SSO (and thus it points to a SAML certificate). I include a canvas app in a Lightning component via force:canvasApp tag like the following: <force:canvasApp ...
0
votes
0answers
16 views

Normal to have two connected app in package

We want to do sso onto external system using a connected app. Also we want to do sync of data from external to SF's custom object created via managed app In this scenario we will need two connected ...
0
votes
1answer
35 views

Relationship between a ConnectedApp and Organizations

What's the relationship between ConnectedApp and the Organizations they are defined in? I have defined a ConnectedApp in one org (org 1) with API access enabled, and it seems that I can use the ...
1
vote
1answer
169 views

Salesforce (as IdP) returns error response to every SAML Single Logout request

I'm having trouble getting Salesforce SAML single logout (SLO) working. I'm writing a web application that uses Salesforce as the SAML Identitiy Provider (IdP) Every LogoutRequest I send gets a ...
0
votes
1answer
41 views

token based login in salesforce

In custom object i have credential of another org contain username and password , login button as quick action too , i have issue that username and password is visible in url so its not good so i ...
1
vote
1answer
677 views

How to determine the correct 'audience' and 'uri' when using OAuth 2.0 JSON Web Token (JWT) Bearer Token Flow

I have correctly been able to use "OAuth 2.0 Web Server Authentication Flow" and now I'd like to switch to "OAuth 2.0 JWT Bearer Token Flow". I wrote a test application in Node.js with the values two ...
0
votes
0answers
467 views

{“error”:“invalid_grant”,“error_description”:“authentication failure”} issue for only one user

I am getting the error when I try to get oAuth access token. I get this error only when I use my user name and password. When I use another user account name and password, it works fine. What could ...
2
votes
1answer
126 views

How much time Salesforce takes to Review a lightning app before uploading that on AppExchange?

I am working on lightning app and want to upload that on AppExchange. For this, I have followed the process described in Trailhead. But I am not sure about how much time its takes in review of that ...
0
votes
1answer
18 views

Connected App: Limit System Functionality

Is there a way to limit system functionality in the Connected App itself. For example, only allow users to updated a specific field when connected to the app (even though the user authorized would ...
0
votes
1answer
132 views

How to create users for Connected App Web Server OAuth2 Authentication Flow with multiple users and tokens?

I currently have one IoT device updating data on Salesforce and it is using Salesforce Connected App and the Web Server OAuth2 Authentication Flow. Currently, there is two users created: ...