Stack Exchange Network

Stack Exchange network consists of 175 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
votes
0answers
36 views

Calling Tooling Api From Apex with Named Credentials,Auth,Connected App

We need to get some custom field ids thru apex - we are doing it by the tooling api - but this needs to run from the admin user because of the permissions View Setup and Configuration. We cant use ...
1
vote
0answers
17 views

Pushing a Connected App with the SFDX CLI results in “invalid cross reference id”

I'm working towards moving an existing managed package over to the SFDX CLI metadata format. Part of the application is a Connected App which forms a core part of a SSO process to an external system ...
0
votes
1answer
14 views

I cannot find CONTACT and ACCOUNT Objects in the Connected App's “Create Custom Attributes”

I am trying to send User, Contact and Account related fields through SAML Response. But while configuring the SAML attributes in the Connected App, I only see User, Profile, Org, and few more Objects ...
0
votes
0answers
24 views

Any alternatives to using Iframe or methods to get my current one functioning?

This is the Visualforce page that I have being displayed. <apex:page lightningStylesheets="false" showHeader="false" standardController="account"> <apex:form > <apex:detail id="...
0
votes
0answers
20 views

{“message”:“Session expired or invalid”,“errorCode”:“INVALID_SESSION_ID”}

Help! We are getting this error with our connected app. {"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"} What could be causing this? We are using sandbox. The Instance URL ...
0
votes
1answer
19 views

Salesforce as identity provider for third party applications -How to extend it for communities

I have enabled Single sign on between salesforce and a thirdparty app using SAML. I have created a connected app where I have configured the SAML Service Provider Settings. We am accessing the ...
1
vote
0answers
15 views

OpenID Connect single logout

I have a connected application (web site) that is using Salesforce as an authentication provider (OpenID Connect). And I'd like the logout on my site to work as a "single logout" - it should also log ...
0
votes
0answers
19 views

OAuth User-Agent Flow redirecting to a blank browser window

I'm trying to set up a chrome extension to talk to salesforce. I've set up a connected app with a callback url of 'chrome-extension://jifheclheidfillfkjkgngocmbiaollm/options.html' I'm using the ...
1
vote
1answer
45 views

Consume external REST API user-aware (without having to re-login)

I have an Apex class that is consuming a partners REST webservices. Currently all users of my app (in the installed org) access the service via a single API Integration user. We now want make the ...
0
votes
0answers
19 views

Deleting Connected App Impact

If I delete a Connected App which is associated with a hybrid Mobile App then will I be able to use the mobile app for login and API calls? I am able to successfully use the Mobile App (Login/API's/...
1
vote
0answers
53 views

Accessing Connected App From Visualforce

I'm developing an application which integrates with another services API. This API requires a SAML token to provide authentication. I've created a connected app, and from an execute anonymous call if ...
1
vote
1answer
29 views

Third party wants to call Salesforce.Can we use named credentials in this case

i have a use case where Some code has been written in salesforce and Third party wants to call it.They are calling using rest like this. https://xxx.com/services/oauth2/token?grant_type=password&...
0
votes
2answers
51 views

I am not getting refresh token on outh2.0 using Connected App in salesforce

I created one connected app in Salesforce. I am doing every time two callout one for outh2.0 and another for actual apexrest callout. I want to avoid outh2.0 callout every time. The following solution ...
2
votes
0answers
30 views

Salesforce iOS SDK pin protection for connected app is not working

I have a connected app in developer org and have enabled the pin protection for that app. Using the new iOS SDK, I have created a ios application. Even if the pin protection is checked, the passcode ...
0
votes
0answers
9 views

Update how Connected App appears in Account Activity

I have setup a Connected App that polls (from a backend server) for updates to a few objects at a set interval. I've noticed that its activity is made to look suspicious in the Account Activity panel ...
1
vote
1answer
47 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
33 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
18 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
20 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
37 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
61 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
24 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
14 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
96 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
36 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
40 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
20 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
27 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
76 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
128 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
205 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
110 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
22 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
52 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
196 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
17 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
39 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
23 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
36 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
21 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
58 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
26 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
135 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
549 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
67 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
273 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
69 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
154 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
135 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
370 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 ...