react-native-auth0: [Question] Redirect from browser after web auth doesn't happen

Version: 1.2.2

Steps to reproduce:

  1. Call auth.webAuth.authorize(). Browser with a hosted login page opens.
  2. Perform authentication.

Expected behavior: The browser redirects execution back to the application.

Actual behavior: Redirect doesn’t happen. I have to press back button to return to the application.

logcat output:

02-06 17:54:41.260   563  1451 I ActivityManager: START u0 {act=android.intent.action.VIEW dat={URL_WITH_TOKEN} cmp=com.univer.mobileui/.MainActivity (has extras)} from uid 10178 on display 0
02-06 17:54:41.374   563 15525 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@8cb3b23 attribute=null, token = android.os.BinderProxy@78f7b8f

This behavior was introduced by PR #126. Downgrading to the version 1.2.1 resolves the issue.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 26 (8 by maintainers)

Most upvoted comments

@leemcmullen I’ve opened a PR to try to improve this. Let me know what you think about it.

@leemcmullen It’s a shame android behaves differently than other platforms on scheme capitalization… I like your suggestion of throwing an error when it contains uppercase chars. And will definitely give the readme a review. Thanks!

We’re tracking this internally.