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
Ram ChaturvediRam Chaturvedi 

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 .
ShashankShashank (Salesforce Developers) 
How about the PageReference.getParameters() method?