Problem with Google OAuth 2.0

Discussion in 'PHP' started by fort, Jan 19, 2012.

  1. #1
    I am working at a integration Goole OAuth 2.0 into my site.
    When Google performs the redirect on my site after user has allowed access, the redirect url look as http://site.com/oauthgoogle.php#state=1&access_token=2&token_type=Bearer&expires_in=3600

    All params wich i need follows after # , and i can't get them :(

    Someone knows how to solve this problem? , i will be very thank
     
    fort, Jan 19, 2012 IP
  2. fort

    fort Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The problem has solved.
    I used response_type=code and reviewed documentation on OAuth2 for web server apps.
     
    fort, Jan 20, 2012 IP