Skip to main content
Question

Authorization code not received when authenticating in Android WebView

  • June 8, 2026
  • 0 replies
  • 18 views

I’d like to report that it’s impossible to authorize third party app using Android WebView. All Android apps seem to be affected by that unless they use external browser or Box app for auth.

 

Regular flow should be: Login page → enter credentials → Grant access page

Current broken flow is: Login page → enter credentials → Blank page and no authorization code returned

 

I was able to capture error log from js console, I guess this prevents the grant page from showing

main-preload.f0bdd4e4aa.js:69 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getItem')
at 91049 (main-preload.f0bdd4e4aa.js:69:37140)
at y (runtime.d0fed8b796.js:2:146219)
at 60972 (main-preload.f0bdd4e4aa.js:69:9428)
at y (runtime.d0fed8b796.js:2:146219)
at 31988 (main-preload.f0bdd4e4aa.js:8:41008)
at y (runtime.d0fed8b796.js:2:146219)
at 38736 (main.89da41b464.js:1:213)
at y (runtime.d0fed8b796.js:2:146219)
91049 @ main-preload.f0bdd4e4aa.js:69
y @ runtime.d0fed8b796.js:2
60972 @ main-preload.f0bdd4e4aa.js:69
y @ runtime.d0fed8b796.js:2
31988 @ main-preload.f0bdd4e4aa.js:8
y @ runtime.d0fed8b796.js:2
38736 @ main.89da41b464.js:1
y @ runtime.d0fed8b796.js:2
Promise.then
(anonymous) @ app.d5237e3cca.js:1
Promise.then
(anonymous) @ app.d5237e3cca.js:1
Promise.then
(anonymous) @ app.d5237e3cca.js:1
(anonymous) @ app.d5237e3cca.js:1
c @ app.d5237e3cca.js:1
97369 @ app.d5237e3cca.js:1
y @ runtime.d0fed8b796.js:2
t @ app.d5237e3cca.js:1
(anonymous) @ app.d5237e3cca.js:1
y.O @ runtime.d0fed8b796.js:2
(anonymous) @ app.d5237e3cca.js:1
t @ runtime.d0fed8b796.js:2
(anonymous) @ app.d5237e3cca.js:1

 

Hope this can be resolved soon.

 

Chris