You need to sign in to do that
Don't have an account?

How can we extract Access token from the URL in User-Agent OAuth Authentication Flow .
i am getting responce like this-----------
https://c.ap1.visual.force.com/apex/Rest2Auth
#access_token=xxxxxxxxxxxxxxxxxxxxxlzBLQ9.DSngQqkgP.tr9EmGDYeYNobq2qZ1oxxxxxxxxxxxxxxxxxxxxxxx91lLR5iilZ9J9_8G9jD_j
&instance_url=https%3A%2F%2Fap1.salesforce.com
how can i fetch access token from it .
https://c.ap1.visual.force.com/apex/Rest2Auth
#access_token=xxxxxxxxxxxxxxxxxxxxxlzBLQ9.DSngQqkgP.tr9EmGDYeYNobq2qZ1oxxxxxxxxxxxxxxxxxxxxxxx91lLR5iilZ9J9_8G9jD_j
&instance_url=https%3A%2F%2Fap1.salesforce.com
how can i fetch access token from it .


How about the PageReference.getParameters() method?