You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"data": {
"error": "The redirect URI provided is missing or does not match",
"request": "/oauth2/authorize",
"method": "POST"
},
"success": false,
"status": 400
}
Since the Imgur API documentation doesn't mention the need for a redirect_uri, I decided to remove it from the URL:
If you do not provide a redirect_uri, then Imgur can not send the user back to your application. In order for the redirect URI to work, the one configured in your application must match the one configured in your Imgur Oauth account settings.
It can, witthout providing the redirect_uri. I tested out. I believe Imugur just follow the url from their application setting but not the query string. Do I need to record a video to prove it?
Thanks for the screenshot, that clarifies things for us (since we don't have an account with every provider, it can be difficult to test sometimes). We can look at making the redirectUrl property optional in the configuration.
Issue
I followed the instructions provided in #516 (comment).
react-native-app-auth
generated the url:However, this resulted in an error:
Since the Imgur API documentation doesn't mention the need for a
redirect_uri
, I decided to remove it from the URL:This modification successfully resolved the error.
Environment
imgur
Android
react-native
Version:0.74.5
react-native-app-auth
Version:8.0.0
The text was updated successfully, but these errors were encountered: