redirect_uri_mismatch on android SDK
Hi, just noticed that my apps get redirect_uri_mismatch error when attempt to connect to BOX api.
I have seen https://support.box.com/hc/en-us/community/posts/5932333917459-Redirection-uri-mismatch-issue and understand the explanation but this was never the case.
Android App sample at https://github.com/box/box-android-sdk/blob/master/box-content-sample/src/main/java/com/box/androidsdk/sample/MainActivity.java does not set redirect uri and I had left OAuth 2.0 Redirect URI in the console to default https://app.box.com.
When I use https://app.box.com as BoxConfig.REDIRECT_URL then authentication works but user is redirected to https://app.box.com and SDK does not handle auth result.
Console at https://app.box.com/developers/console/ does not allow setting null/empty OAuth 2.0 Redirect URI either.
Since SDK has not changed for some time, something on your backend must have changed.
Question is, how would one handle auth result?
-
In Japanese. We have certainly received no communication bout this change and can see that SDK is not updated either.
Any time frame about updating Android SDK?
Post is closed for comments.
Comments
1 comment