0

I have a url that receive request with parameters set like this from the return URL of the GoogleAuth. : LoginReturn.aspx#state=/profile&access_token=token&token_type=Bearer&expires_in=3600

Because of '#' (instead of '?'), if I look in Request.QueryString or Request.RawUrl, there is no parameter and I need to get this access_token.

What is the correct way to get those parameters ?

Thanks for your help !

SeyoS
  • 661
  • 5
  • 22

1 Answers1

0

Everything that follows # is only for the browser. It's usually used to navigate to an anchor in a page, or for single page applications.

The correct way is to edit your query from # to ?

Deblaton Jean-Philippe
  • 11,188
  • 3
  • 49
  • 66