I am trying to get a non-expiry access token, like so:

    https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}}

I am repeatedly getting the error:

> **Application Login Failure**  
> An error occurred while login into an application. 
>
> **Error Details**  
> error description: Cannot return to provided redirect_uri

I have tried several values for `redirect_uri, such as:

 - `https://www.yahoo.com/`  
  and
 - `10.**.**.**/myscript.php` 

None of them seem to be working.