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
Binu 8Binu 8 

Access visual force page with access token

    Hi Team,
    
        I have one question. Is there any way to access the visualforce page without entering the login credentials in salesforce website. 
        I will only provide the sesion id or acces tokken.
        
        1. I will login through my rest api with user name , password, client id, client secret, call back url.
            The response of this request is a security token.
        
        2. Now I want to navigate a visual force page. Some thing like this.
        
            https://c.cs0.visual.force.com/apex/HelloWorld?oauth_token=<access token>
            
    Let me know is there any way to do this or do you have any suggestons?
Best Answer chosen by Binu 8
Pritam ShekhawatPritam Shekhawat
@Binu, If you want to access your visualforce page without login into Salesforce then use force.com sites for this. Create a site and use visualforce page and make it public so user can access without login into Salesforce.