We are attempting to connect one Salesforce org to multiple others (Production / Sandbox) using a web server login flow from a managed package. Our approach involves storing 'refresh_token' and 'access_token' in either custom settings or custom metadata. Is this method optimal, or could it potentially pose security risks.Is there any other ways to store token in salesforce.
If above ways are wrong, please suggest any other alternate ways to connect multiple salesforce org from managed package. #Salesforce Developer #OAuth 2.0 #Integration #Security #Named Credentials
Hii @Niket Uplenchwar as we are connecting the org dynamically is it possible to store tokens in the named credentials ?