Open ikoonman opened 7 years ago
Hi, I was also facing the same error and after some searching I wound that you have to add url with appending /oauth2callback/ and /oauth2callback with it under Authorised redirect URIs
it worked fine for me see if it works for you also
best of luck happy coding :)
Hello
I have a project where front-end and server side resides on seperate domains in DEV (www.sandbox.local and api.sandbox.local) - PROD ENV would be similar for example www.acme.com and api.acme.com.
I keep getting this error returned from GuzzleHttp when issuing a server-side post to https://api.instagram.com/oauth/access_token. The redirectUri specified in $authProvider.instagram is exactly the same as what I specified on Instagram's API under "Valid Redirect Uri's". I have even ensured to urlencode the URL before posting it, but no success.
The POST is (details masked with 'xxx'):
The Response is as follow:
Just for clarity - the Satellizer $authProvider URL property for Instagram points to api.sandbox.local endpoint, and redirectUri is www.sandbox.local.
Any assistance would be appreciated.