function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sandesh Vishwakarma 9Sandesh Vishwakarma 9 

Hii Community , please help me with deployment process for the below task

I have integrated an external application with saesforce , I created connected app for that. and used securty token for the integration with salesforce.

Now i need to deploy salesforce callout. What do i need to take care while deployment (specially connected app and security token) these two things.

A security token gets reset everytime password expires or changed. we can't make changes to the code everytime for this.
InzamamulInzamamul (Salesforce Developers) 
Hello Sandesh,

As you mentioned that a security token gets reset everytime password expires or changed so in this situation, I would suggest you to change the dedicated user for integration, you will have option to change password policy for user profile to password never expire.

Also, I would like to inform that connected org should be re-created in production env and use them in sandbox.

Please check the below article for the reference of the issue which can help:

https://salesforce.stackexchange.com/questions/341076/deploy-connected-app-from-dev-to-test

Please mark this as a best answer if this helps.

Thank You!

Heads up about the Forums shut down

User-added image
Important Update

We appreciate your participation in these Salesforce Discussion Forums! It’s active members like you that keep our amazing community going strong.

At this time, we want to give you a heads up that on December 4, 2023, the discussion forums will shut down and all relevant discussions will migrate to the Trailblazer Community digital platform. This move brings all conversations around Salesforce development together in one place and provides more opportunities for our broader community to connect and share. We will be removing outdated, obsolete, or spam content and migrating only relevant discussions to the Trailblazer Community digital platform.

Starting November 20, you can view discussions but not post new questions or responses. On December 2, you will no longer be able to access the discussion forums from the Salesforce Developers website.

Please take these steps before November 30, 2023, 11:59 p.m. PT to ensure your contributions follow you to the Trailblazer Community:
  1. If you’re not already a member of the Trailblazer Communitysign up for a Trailblazer account using the same login email address associated with your Developer Discussion Forums account. This is crucial.
  2. If you already have a Trailblazer account, and it’s using a different email address from the one you used for your Developer Discussion Forums account, we recommend that you log in to the Trailblazer Community and connect your forums email address to your Trailblazer account.
Once you’re in the Trailblazer Community, join the Migration Support Hub users group to help you navigate this transition.

We will keep you up to date throughout the transition, and we look forward to seeing you joining the developer discussions in the Trailblazer Community!

Sincerely,
The Forums Support Team
 
Alexander james 4Alexander james 4
When deploying a Salesforce callout for an external application integrated through a connected app and security token, ensure the following:
Connected Game (http://progamezone.info): Confirm that the connected app settings (such as API permissions and callback URLs) are consistent between environments.
Security Token: Since security tokens reset with password changes, consider using an integration user account with a dedicated profile that doesn't require a security token. This way, you won't need to update the code when the security token changes.
By using a dedicated integration user with a profile that doesn't require a security token, you can streamline the deployment process and minimize the need for code changes due to security token updates.