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
Jen BranJen Bran 

Callout to external system using OAUTH in Apex code

Having some difficulties with consistent instructions on how to use apex to call a private external service and get a response using a shared/named principal authentication.  I do not want the user to know this occurs in the background as this will be used on a public facing visualforce page that will not have user authorization required.  Anyone able to point me to the correct instructions? I need help!

On a side note, also struggling with the "public user" as I cannot seem to find that to fix the settings in the system to make custom objects visible.
Ashmi PatelAshmi Patel
https://help.salesforce.com/apex/HTViewHelpDoc?id=creating_and_editing_profiles.htm&language=en


plz check on it
 
Jen BranJen Bran
Thank you, but that is not the profile I was referring to.  I mean the one that is used with sites.  I think it's called External Public or something like that.  It's what is automatically tied to anything you are building for sites.