forcedotcom / postman-salesforce-apis

Salesforce API Postman Collection
Creative Commons Zero v1.0 Universal
1.06k stars 638 forks source link

How should {{url}}{{site}}/services/oauth2 be used in the Auth folder, what is each for? #59

Closed colinkenworthy closed 2 years ago

colinkenworthy commented 2 years ago

Should only one OR the other be used? I can't think what should go into {{site}} and no documents mention it.

pozil commented 2 years ago

Hi @colinkenworthy thanks for reaching out. The url variable is always required. The site variable is used in combination with url when working with Experience Cloud sites with subdomains.

This is documented in the collection (see the table with list of variables)

colinkenworthy commented 2 years ago

Thank you for the explanation.