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
patg10patg10 

OAuth login for Enterprise Sandbox

I am implementing OAuth login to connect with Salesforce and have below questions for making it work for sandboxes.

1. For the username, password authentication, the endpoints used to be different (c for enterprise and u for partner). Is this how OAuth implementation is too? i.e the endpoint URL changes for different type of sandboxes?

2. Is there a documentation page specific to implementing OAuth for sandboxes? Currently, I am switching login.salesforce.com with test.salesforce.com for sandboxes but looking for an official documentation that this is all needed and no need to change u vs c like mentioned in above point.

3. I created an enterprise trial account and created a sandbox under that account. This sandbox does not seem to be 'enterprise' sandbox and just 'developer' sandbox. Can I create enterprise sandbox with a trial account?

 
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi,

May I suggest you please refer the link below form salesforce help document.
Hope it helps.

Please mark it as best answer if the information is informative.

Thanks
Rahul Kumar