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 and pass session id and refresh token. .Net Web Service uses session id for authentication while interacting (using http request) with Salesforce. I … Read more

Find Salesforce ORG where a connected app lives using client id

This is a bit of a weird question but I am unable to locate the sandbox a specific connected app lives under.We are looking at multiple prod orgs with many sandboxes underneath and haven’t been able to find it yet. Tried cheating the system by hitting the standard test domain hoping something would point at … Read more

How to prevent users to use non registered connected apps

There are many web applications that connect to Salesforce with OAuth without configure a connected app (e.g. onegraph). How can we prevent users to connect such an application? Answer Setup –> Connected Apps OAuth Usage Here you should see all connected apps, the user count, and the option to “block”. You could block the … Read more

Profile/Permission Set -> Assigned Connected Apps section disappeared

In a normal org as a System Admin user, I can see the middle option here called “Assigned Connected Apps” (whether from a permission set or a profile), from which I can associate the connected app to the current profile/permission set. I saw an org today where that middle “Assigned Connected Apps” option was not … Read more

JWT setup do I have to use the CLI?

I am building a web based app which posts data to Salesforce. I have built this and the data transfers correctly as expected. However I need to advise clients on the setup required at their end. According to the steps here: I must still create the offline app folders and then in step 4 … Read more

It is possible to create trigger invoked on EVERY send email message?

i want to make a thing witch one will be working with every sent email from my org. It is possible to write a trigger to do that? The only possibility that comes to my mind is create a factory to send emails. Do you have other ideas? Answer Take a look at this. Let … Read more

How to Authenticate when Accessing Custom Apex REST Web Service [duplicate]

This question already has an answer here: How can I call a custom REST API Method simply? (1 answer) Closed 1 year ago. I thought this would be a simple thing to find, but all the documentation deals specifically with either creating an Apex web service, or accessing the SF REST API in some general … Read more

Update custom field in Salesforce when unsubscribed from external website [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Salesforce Stack Exchange. Closed 1 year ago. Improve this question I have a website where users can unsubcribe from our mailing list. While doing so, their email id will be carried in … Read more

Lightning Out — How to go around session persistence

We currently have an LWC component. It is targeted to be used in 3rd party sites. The best way to do this is via Lightning Out. We therefore created a lightning out application, it is currently embedded in a nodeJS app. We provide access token to it via the JWT-bearer flow. This flow uses a … Read more