PHP Classes

Invalid Authorization Request

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  Invalid Authorization Request  >  (Un) Subscribe thread alerts  
Subject:Invalid Authorization Request
Summary:EC2 aws server
Messages:2
Author:Thennarasu
Date:2015-01-07 05:56:27
 

  1. Invalid Authorization Request   Reply   Report abuse  
Picture of Thennarasu Thennarasu - 2015-01-07 05:56:27
i have login_with_meetup get values in json string.. i am running my code is localhost is working i got answer..
I upload my files amazon aws service.. i got instance url amazon aws
ec2-54-204-154-31.compute-1.amazonaws.com.. finally trying to Run my code with aws url ec2-54-204-184-31.compute-1.amazonaws.com/Login_with_meetup.php its showing Invalid Authorization request..but its working localhost..even use same for localhost aws also just i change redirect_uti..but still i am getting error..please help me..

  2. Re: Invalid Authorization Request   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-01-17 06:02:58 - In reply to message 1 from Thennarasu
Sorry for the delay.

I cannot access that server in EC2. It is probably down.

Anyway I suspect that the problem is that your Meetup application must have the redirect URI set to the domain you are using in EC2. In that case you need to go to Meetup API OAuth consumers page and change the URL of the Redirect URI field of your application to

ec2-54-204-184-31.compute-1.amazona ...

secure.meetup.com/meetup_api/oauth_ ...