Description
java.lang.RuntimeException: Unable to resume activity {com.app.name/net.openid.appauth.AuthorizationManagementActivity}: java.lang.UnsupportedOperationException: This isn't a hierarchical URI.
I think that the problem is in the way the library handles the received intent that at some time pass though this function in the AuthorizationManagementActivity
private Intent extractResponseData(Uri responseUri) { if (responseUri.getQueryParameterNames().contains(AuthorizationException.PARAM_ERROR)) { return AuthorizationException.fromOAuthRedirect(responseUri).toIntent(); } else { [...] } }
The getQueryParameterNames()
function of the java.net.URI
class, throws an exception because before doing anything else, it checks if the link is hierarchical.
More information at: https://stackoverflow.com/questions/62191135/appauth-android-strange-problem-in-handling-not-hierarchical-uri-callback-intent