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.

0
votes
0answers
17 views

Connect Talend to Salesforce using OAuth JWT Flow in Talend v6.2

I followed the steps exactly mentioned here https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/a8jLl7sBZvEIsAkL1wTiGA for connecting Talend v6.2 to salesforce. The documentation states that we ...
3
votes
1answer
40 views

Connect Talend to Salesforce using OAuth JWT Flow

I followed the steps exactly mentioned here https://help.talend.com/reader/4cgA8~D~pdi5biHRfSvg_Q/ZoXS~zBdrcuQAx427Yv6Gw for connecting Talend to salesforce. I have done the configuration in Talend ...
0
votes
0answers
16 views

Stop 3rd Party Integration from Changing Record Ownership

We are using a 3rd party app to have incoming emails send to SF under our custom Messages Object. However, the app also changes the ownership of the record to the themselves when a user clicks to view ...
0
votes
0answers
15 views

Connected App with Custom Endpoint

I'm not sure how to ask this question. We have a custom endpoint that handles the creation of leads from external partners. We recently added a partner and they are using a connected app. I didn't ...
0
votes
2answers
43 views

OAuth 2.0 Auth token request failed with error invalid_request Must use HTTP POST

OAuth 2.0 Auth token request failed with below error { "error": "invalid_request", "error_description": "must use HTTP POST" } What does this error mean? I am using Postman. Have a connected app. ...
0
votes
1answer
12 views

Usage of Connected App in terms of exposing a RestResource API for consumption?

I know I have done it before, but I am lost this time around. Previously, I have created Connected Apps for implementation of Oauth 2.0 authentication process with Salesforce. But, this environment is ...
0
votes
1answer
30 views

Create self-signed x509 certificate

I am trying to get an access token by following the guide OAuth 2.0 JWT Bearer Token Flow. But I am stuck on the following The developer writes an app that generates a JWT. The JWT is signed with ...
0
votes
2answers
24 views

Is there a way to get new access token when current session get expired without using Connected App?

I have one Customer's Salesforce Application and one .Net Web Service. I also have Connected App in Salesforce which I am using to generate new token. Salesforce Application calls .Net Web Service ...
0
votes
1answer
18 views

Create a Customer Community User in Test to Login Connected Application

Please help out in any way possible with the below challenge; We have an application connected to salesforce which is logged in by our customers(accounts) through community users which are created ...
0
votes
1answer
30 views

Salesforce CLI not available in sandbox

Under Connected Apps OAuth Usage, Salesforce CLI is not available to install. How to get it like below image
0
votes
1answer
27 views

Go to marketing cloud link in marketing cloud connect app not directly logging into SFMC

Mine is a multi-org connected SFMC and when i am trying to open SFMC by clicking on the got to marketing cloud link available on marketing cloud connect app on sales cloud, it is taking me to login ...
1
vote
0answers
26 views

sfdx create package version connected app error

I'm trying to create a managed package with a connected app. I have created the connected app in a scratch org and pulled it into source control (without the consumer key). After creating a package ...
1
vote
2answers
36 views

How to incorporate Consumer id and consumer secret in my REST API (Apex class)

I have a requirement where some external web forms would be calling our REST API to submit Lead. I have created a connected app, got the consumer id and consumer secret. I want my apex class to be ...
2
votes
1answer
60 views

Canvas app inside managed package that connects to configurable endpoint

Our customers have versions of our Java web app installed in their data center. I want to build a managed packaged Salesforce App that is able to connect to those web app instances using Salesforce ...
0
votes
1answer
44 views

How to assigned/enabled connected app in permission set using package.xml

I have one permission set and one conncted app ,I have enabled this Connected app in permission set ,but when i am retiriving Permissions set not able to retrieve it in Package. i am doing like below....
0
votes
0answers
20 views

Update connected app using MetadataService (SOAP)

I'm trying to update a connected app programatically using MetadataService framwork. I have no problem with create and delete connected app. Here is my code : public class UpdateConnectedApps { ...
0
votes
1answer
34 views

Query Data with JSforce Using Connected App [closed]

I want to use package JSforce to Query SF data using external app. Can do it quite easily by using userName/password/token conn.login('someusername', 'somepassword+token', function(err, userInfo) { /...
1
vote
0answers
29 views

How to enable a profile / permission set to access a connected app on a scratch org?

Connected Apps are global for all Salesforce , so they do not need to be replicated on scratch orgs: when the user access them for the first time, they are installed on the org. When a connected app ...
2
votes
1answer
129 views

Connect to Salesforce production REST API from Sandbox using Named Credentials

Background I would like to connect to the REST API of a production org, from a sandbox org. Configuration so far: Production Org has a Connected App Sandbox Org has a Auth. Provider Sandbox Org has ...
0
votes
2answers
54 views

How to get permanent token?

I really need to get permanent token or dynamic generator. We set job in the server and this service will come to salesforce and get the data. To provide this, I created connected app, got the token ...
3
votes
0answers
62 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
18 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
30 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
46 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
2answers
29 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 ...
2
votes
0answers
26 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
23 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
64 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
21 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
71 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
40 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
100 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
38 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
64 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
51 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
19 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
22 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
42 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
69 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
25 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
101 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
59 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
46 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
31 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
32 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
108 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
169 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
277 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 ...