Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public PageReference requestCode(){
- String endpoint='https://login.salesforce.com/services/oauth2/authorize';
- endpoint=endpoint+'?response_type=code&client_id='+clientId;
- endpoint=endpoint+'&redirect_uri='+redirectUri;
- PageReference p=new PageReference(endpoint);
- return p;
- }
Add Comment
Please, Sign In to add comment