1

This question already has an answer here:

I am trying Stack Exchange OAuth in local Magento site.

I tried this URL:

$url = "https://stackexchange.com/oauth?client_id=****&scope=no_expiry,read_inbox&redirect_uri=".urlencode('https://stackexchange.com/oauth/login_success');

When I give approval, I get Cannot return to provided redirect_uri:

enter image description here

What went wrong? Please help me.

~~~
If I reject approval, I get this error message:

enter image description here

How do I solve this problem?

marked as duplicate by Brock Adams, Tim Stone Aug 14 '15 at 14:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Hi Vijay S how did you solve this issue ? – Ankita Jain Apr 19 '15 at 17:37
  • This task dropped.. @Ankita jain – VijayS91 Apr 20 '15 at 14:26
  • @AnkitaJain You found any solution please share me... – VijayS91 Jul 27 '15 at 16:33
  • It should be redirect_uri=https://stackexchange.com/oauth/login_success. No quotes. No urlencode. – Brock Adams Aug 14 '15 at 3:10

Browse other questions tagged .