Skip to content

Missing AppAuth-Library on Android 11 #632

@martinhellwig

Description

@martinhellwig

Issue

We experienced some problems by using this library on some Android phones. When we want to start the "authorize"-method, we only get an error with the info "Error: Error not specified". No Authorization-Flow is started at all. Normally a new Overlay with a Chrome-Tab inside will be opened.

After some research we found out, that the issue is only present on Android 11 devices. Android 10 and below are working as expected. We upgraded to the newest version of this library as well as using the newest Android sdks:

  • CompileSDK: 30
  • TargetSDK: 30
  • buildToolsVersion: 29.0.3

Also the entry "" in the AndroidManifest is red, because the needed AppAuth-Android library is not added as a dependency at all.
The only way to fix this issue for now is to add the android-dependency manually in the build-gradle as follows:
implementation 'net.openid:appauth:0.8.1'

Maybe there is some issue with using your newest SDK together with the Android-SDK 30 running on Android 11 phones?


Environment

  • Identity Provider: Keycloak
  • Platform: Android 11 (Android SDK 30)
  • We are using Expo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions