android API 33 - authorization failing - Intent is returning null
bhavana-tavshikar opened this issue · 3 comments
bhavana-tavshikar commented
Checklist:
- I am using the latest release
- I searched for existing GitHub issues
- I read the documentation
- I verified the client configuration matches the information in the identity provider (or I am using dynamic client registration)
- I am either using a custom URI scheme or
https
with App Links for client redirect. - I can reproduce the issue in the demo app (optional)
Configuration
- Version: 0.7.0
- Integration: (Kotlin -Android app)
- Identity provider: (Google, Okta, Gluu, Auth0, KeyCloack, etc)
Issue Description
Expected Behavior - (Working fine till API 30) - Authentication success and intent returns to app
Issue - Authentication failing - Intent is returning null
val response = AuthorizationResponse.fromIntent(intent)
above statement is returning NULL.
issue occurred when updated to below versions
- gradle -> 7.6
- kotlin -> 4.0.2 to 7.3.1
- target API -> 29 to 33
- min sdk API ->24
Note : When used updated lib version (0.11.1) following error occurs -
FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: Failed resolution of: Lnet/openid/appauth/browser/BrowserWhitelist;
Caused by: java.lang.ClassNotFoundException: Didn't find class "net.openid.appauth.browser.BrowserWhitelist" on path: DexPathList[[zip file "/data/app/~~IdB0MA6nxjACQs36zge-kg==/"],nativeLibraryDirectories=[/data/app/~~IdB0MA6nxjACQs36zge-kg==/]
CompileConnected commented
@bhavana-tavshikar this is not a bug BrowserWhitelist is already removed on latest 0.11.1
CompileConnected commented
use BrowserAllowList and make sure any module that use appauth upgraded to latest