title: How to access the hash value from URL inside controller
body: <p>Here is the URL and I wanted to read the value post <strong>hash</strong>. I did't find a direct way to get the hash value so looking for a indirect way, If I could read the full URL with hash somehow, I can easily parse.</p>
  
  <pre><code>http://localhost:8080/igcallback#access_token=&lt;token&gt;
  </code></pre>
  
  <p><strong>What I Tried</strong></p>
  
  <p>String access_token = request.getRequestURL()</p>
  
  <pre><code>http://localhost:8080/igcallback
  </code></pre>
  
  <p>String request_param= request.getParameter("access_token");</p>
  
  <pre><code>null
  </code></pre>
  
  <p>String header_names = request.getHeaderNames()</p>
  
  <pre><code>[]
  </code></pre>