This question already has an answer here:
- Unable to get access token 1 answer
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:
What went wrong? Please help me.
If I reject approval, I get this error message:
How do I solve this problem?