Skip to main content

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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
20 views

How do I change the Connected App name when authorizing?

My app name is not called "My App", but it shows as such when authorizing. How do I change this?
Alan's user avatar
  • 25
2 votes
0 answers
39 views

how to rotate just the consumerSecret on a connected app?

For a Connected App in Salesforce, can the consumerSecret be updated or changed apart from the consumerKey? And, can this be done programmatically? This documentation only gives a path through the UI, ...
SeanW's user avatar
  • 702
0 votes
0 answers
119 views

System.CalloutException: The callout couldn't access the endpoint

I have created an Apex REST endpoint and I want to test it using an integration user that I've also just set up. The integration user is using the "Salesforce Integration" User License. I've ...
Mike's user avatar
  • 1,199
2 votes
1 answer
33 views

Why do we need Connected App ClientId and ClientSecret to get token for Username And Password flow, but those are not required for SOAP login?

Why do we need Connected App ClientId and ClientSecret to get token for Username And Password flow, but those are not required for SOAP login? Which are the uses cases to use the first over the second ...
Gabriel Serrano Salas's user avatar
0 votes
0 answers
24 views

Custom Authentication using Oauth 2.0 connected app

I have a requirement where I need to check authentication of user with third party through Oauth 2.0. The process is as follows User clicks on Sign-in button if he is not authorise user. If not ...
Pratik Patil's user avatar
0 votes
1 answer
81 views

How to add a custom claim to the access token obtained from Salesforce?

I want to add custom claims to the access token obtained from Salesforce Connected App. I have seen these 2 articles (OpenID Connect - adding custom attributes (claims) to id token and Adding custom ...
psa's user avatar
  • 3
0 votes
0 answers
45 views

Two profiles or permission sets and limiting access to one SSO or the other. Possible?

We use Cloud Access Management (CAM) for our SSO. Is it possible to configure two CAM SSO profiles and have that assigned to different sets of users so that User A for instance is given CAM SSO ...
Strong Like Bull's user avatar
1 vote
1 answer
31 views

Salesforce Connected App (sfdx)

I have a question regarding including a Connected App in a managed package, when this app is installed on multiple orgs does the Connected App keep the Original consumerKey? or is a new one generated ...
ravent's user avatar
  • 57
0 votes
0 answers
35 views

Any limitations on creating an OAuth Connected App in Salesforce Essentials edition?

Are there any limitations to creating an OAuth connected app in Salesforce Essentials edition vs the higher editions like Professional, Enterprise, etc.? Are there any restrictions that I should be ...
tanfive7's user avatar
0 votes
0 answers
423 views

Authenticated User "Unable to tunnel through Proxy..."

I have a connection between a Dev Box and a Full Box instance. I set up this way: Fullbox - Connected App Dev Box --> Named Credentials Uses Auth provider with login flow on save. --> Auth. ...
thinker's user avatar
  • 1,442
0 votes
0 answers
41 views

Calling APIs via oAuth and fine-grained authorization

I have an external system calling my middleware which then calls Salesforce to retrieve some data. Users login to the external system via an External IDP and retrieve an Access/Refresh Token and an ID ...
some guy's user avatar
  • 141
0 votes
0 answers
22 views

INVALID_SESSION_ID with metadata api login

I'm trying the metadata api in java using this sample code - https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_quickstart_java_sample.htm Instead of the basic ...
jacksparrow007's user avatar
0 votes
0 answers
18 views

Programmatically get information on a packaged Connected App

I have a connected app packaged in a 2GP. Ideally, I wanted to update information (client credential user) on it but I'm fine with just detecting whether this param is present and having it manually ...
Al Cher's user avatar
  • 259
1 vote
0 answers
65 views

REST API query doesn't understand custom relationship while it worked with CLI

We're trying to query our Salesforce data from another process. A colleague did a PoC with his own credentials on the CLI and got results. The query he created contains custom relations and that ...
Ashala's user avatar
  • 11
1 vote
1 answer
38 views

How 2GP ConnectedApp metadata combines with Connected App in released 1GP

We have a 2GP with an Aura Component that contains a Canvas App. We followed the documentation from Salesforce and created a Connected App in a namespace packaging org and created a released 1GP ...
nstuyvesant's user avatar
2 votes
1 answer
53 views

Connected App / OAuth Scopes - Access the Salesforce API Platform (sfap_api)

Does anyone have any idea what this OAuth Scope is?
nstuyvesant's user avatar
0 votes
0 answers
41 views

eBay to Salesforce CRM Connector

The company I work for has an eBay store with a hundred weekly orders. Customer service is a pain, as almost all other CS enquiries are handled within Salesforce and only eBay requires us to manage ...
dengar81's user avatar
  • 101
0 votes
0 answers
62 views

Use connected app that exists in production to connect to sandbox

I have the following scenario and would like to discuss if this is possible at all. Some customer wants to do some tests in a sandbox. It's the same org as the prod environment. We have a perfectly ...
Lukas Räpple's user avatar
-1 votes
1 answer
199 views

Can we setup salesforce sso or Idp login within Iframe to login to a external site

I have an Iframe in salesforce which loads an external site that supports salesforce sso, currently I'm redirecting the user to the external site auth0 login page and once they login I redirect them ...
R_M_R's user avatar
  • 1
1 vote
0 answers
66 views

Connected apps - how to find out which apps are actively used

I've been tasked with looking into and enabling the For admin-approved users, limit API access to only allowlisted connected apps. The goal is to prevent users from installing connected apps. What I ...
jameskbw's user avatar
0 votes
1 answer
105 views

Setup headless integration using the Minimum Access profile

I'm doing some testing using the new Salesforce Minimum Access profile. I'm using a connected app in conjunction with this and I'm using Postman to get an access token. See details about the user ...
akarnid's user avatar
  • 1,842
1 vote
2 answers
744 views

Set expiry time of OAuth access token at connected app level

I have seen a lot of stack exchange posts suggesting that the expiry time of the OAuth access token cannot be determined. It is dependent upon the session timeout policy set at user profile level and/...
tanfive7's user avatar
1 vote
1 answer
90 views

Using a ConnectedApp to create a signed JWT from Apex (similar to Canvas Signed Request Authentication)

Our 2GP has an Aura component with a Canvas App that uses a Connected App to authenticate the Salesforce organization against an external service using the JWT Bearer OAuth flow. Current flow follows ...
nstuyvesant's user avatar
2 votes
1 answer
506 views

Connected apps deployment troubles in ApiVersion 59.0

After changing sourceApiVersion from 58.0 to 59.0 deployment of connected apps started failing with this error: Property 'isTokenExchangeFlowEnabled' not valid in version 59.0 Error points to this ...
SalesForceNewbie's user avatar
-1 votes
1 answer
441 views

Connect app policy : All users may self authorize

what is oauth policy 'all users may self authorize'? How this change may impact the jwt server to server integration? Thanks in advance for the clarification! :-)
DSK's user avatar
  • 99
0 votes
0 answers
41 views

Second generation Managed Package - ConnectedApp isAdminApproved and permissionSetName

For our second generation managed package, I hoped to pre-configure the ConnectedApp like this so our Permission Set is associated: <?xml version="1.0" encoding="UTF-8" ?> &...
nstuyvesant's user avatar
1 vote
0 answers
20 views

2GP post-installation Lightning Tab - set ConnectedApp.oauthConfig.isAdminApproved to true and assign profiles

For a 2GP, putting together a UI for System Administrators to manually navigate to after installation to automate post-installation configuration. Here's the part I am working on... Sets ConnectedApp....
nstuyvesant's user avatar
0 votes
1 answer
122 views

Connected App - Profiles vs. Permission Sets

Two scenarios for my questions below... Permission Set named XYZ has a 2GP Connected App called ABC as an Assigned Connected App (in the Setup UI) Connected App ABC (if Admin approved users are pre-...
nstuyvesant's user avatar
-1 votes
1 answer
18 views

Making a web app that allows any salesforce org/user to sign up and see analytics

I'm creating a web application in which a user can "connect" their salesforce account to my web app and see analytics. I've currently looked at creating a connected app, but that only works ...
aaryan punia's user avatar
0 votes
1 answer
47 views

Connected App with Access to Static Resources

I am working in an org where there is a connected app someone created (not me) that has the Run As user (under Client Credentials Flow) which specifies a user with the system administrator profile. I ...
Jeff's user avatar
  • 145
1 vote
0 answers
237 views

Creating a Managed Package with a Connected App

We are trying to create a managed package that contains a connected app. The purpose of this is to submit it for security review and eventually be listed on AppExchange. The connected app just syncs ...
tubbytoad42's user avatar
0 votes
0 answers
57 views

Understanding the access path from ApiEvent

Hello Salesforce Community, I am facing a challenge in correlating ApiEvent records with OAuthToken, particularly for connected apps that haven't been installed in our Salesforce org. While I can see ...
Gal Malka's user avatar
  • 101
1 vote
2 answers
198 views

Integrating a third party application with Salesforce

I am working on integrating a third-party application with Salesforce and am exploring options for OAuth flow without the use of pre-existing or "master" Connected Apps. Our goal is to ...
Bramjot Singh's user avatar
1 vote
0 answers
95 views

How to validate access to Apex API with an Integration User

I use an Apex REST API for communication with Java, which authenticates in the Connected App using the login and password data of any user along with the provided User Details. I was informed that, ...
Gabriel Zanotelli's user avatar
0 votes
0 answers
119 views

JSForce connection with connected app returns undefined

I am using the below code to establish a connection with Salesforce connected app - const express = require('express'); //Adding Express const http = require('http'); //Adding http const jsforce = ...
sumchans's user avatar
  • 789
1 vote
1 answer
1k views

Why is OAuth Client Credentials safer than OAuth Username-Password?

According to Salesforce, here "You can use the username-password flow to authorize a client via a connected app that already has the user’s credentials. However, we recommend avoiding this flow ...
Morgan Marchese's user avatar
0 votes
0 answers
208 views

Sending a multi-valued attribute in SAML assertion

I made connected App in Sandbox to log in AWS using SSO from Salesforce (SFDC-identity Provider, AWS - ServiceProvider) we set up NAME ID Format (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent) ...
송지은's user avatar
-1 votes
2 answers
642 views

Query (SOQL) on connectedApplication to get clientId and clientSecreet

I am creating a connected app through metadataservice. But i am not able to retrieve the clientId and clientSecret from this newly created connected app in apex class
Vivek Tendulkar's user avatar
0 votes
2 answers
896 views

Sys Admin getting 'This session is not valid for use with the REST API' from connected app

So there are already many questions and answers about this error online already and I have looked through them all over and over and i cannot overcome the problem. I am creating an LWC to get debug ...
Dane's user avatar
  • 145
0 votes
0 answers
139 views

SSO between Experience Cloud and external E-commerce site

The client needs Is the following: From the e-commerce (external hosted) when they want to register,they are redirected to the salesforce community Page where they can log-in or register. After they ...
LearningIssue's user avatar
0 votes
0 answers
131 views

How to use CA Signed certificate in Salesforce Production Org for JWT Authentication in connected app?

We have a requirement to integrate CTI with Salesforce. We want to create a connected app using Digital Certificate. For the development orgs we used Open SSL (https://www.apexhours.com/salesforce-...
Shubham Athalye's user avatar
1 vote
2 answers
507 views

Authenticate connected app with Salesforce Integration User

We are installing a package that has an integration to an external system. The external system requires authentication with a connected app. We don't want to tie the authentication/integration to a ...
TemporaryFix's user avatar
  • 2,946
0 votes
0 answers
39 views

Can external user provisioning be used with Community user licenses?

Given a Community User, once a field on the user's Contact record is set to a given value, the community user needs to be provisioned as a user in Google GSuite (probably "for Education" or &...
Jason Clark's user avatar
  • 11.9k
0 votes
0 answers
506 views

How to use Signed certificates to expose REST API in Salesforce?

My use case is expose REST API in salesforce using certificate (trying self-signed), should not use OAuth authentication to consume in postman. Below Steps did but not able to complete. Created Self-...
Silambarasan's user avatar
-1 votes
1 answer
88 views

Connected App Access to Sandbox Environments

If I have a connected app in a Sandbox environment, do those credentials go invalid after a day? We've noticed that if we installed our Connected App in a Sandbox environment our App doesnt seem to ...
andrew's user avatar
  • 149
0 votes
0 answers
45 views

Access control based on a connected app

I would like to redirect incoming oauth token requests from a certain connected app, to perform additional access control for that specific app before granting it the access token, or at least before ...
wall-e's user avatar
  • 11
3 votes
3 answers
261 views

Connected App JWT flow fails for custom profile

Our managed package requires a connected app with JWT flow to be configured by the SF admin. The admin chooses the “Admin approved users are pre-authorized” option, creates a custom permission set, ...
ApexAdam's user avatar
  • 163
1 vote
1 answer
505 views

OAuth 2.0 Web Server Flow Without 2nd redirect

As an ISV partner I am building a web app to communicate between websites and salesforce. Essentially a many to many relationship where this connected app connects the website to a salesforce instance....
TemporaryFix's user avatar
  • 2,946
0 votes
0 answers
38 views

Inquiries about CONNECTED APP from Salesforce

In a function currently under development, there is a problem both externally and during receiving. As I write each problem, I would appreciate it if you could comment your ideas. External server ...
width choi's user avatar
0 votes
0 answers
243 views

How to launch IDP-initiated SSO for a SAML-enabled Connected App?

I have a SAML-enabled connected app configured for a 3rd party service provider to be used by community users (SF is IdP). However, I can't expose SF's native app launcher as this community is under ...
Jan Julian's user avatar
  • 2,634

1
2 3 4 5
13