Hello,

We recently attempted to upgrade our CAS installation from 6.6 to 7.x and 
encountered a blocking issue with Android’s embedded WebView (specifically 
in the Gmail app).

In CAS 7.x, the default src/main/static/js/cas.js file appears to rely more 
heavily on localStorage. However, the Gmail app’s built-in WebView which is 
used for registering an account does not properly support localStorage. 
This leads to errors in the authentication flow, causing the WebView 
browser to hang after CAS credentials are submitted. In CAS 6.6, the code 
primarily used sessionStorage, and this issue never arose.

To work around the problem, I’ve updated cas.js so that it first checks if 
localStorage is available, and if not, it falls back to an in-memory object 
or to sessionStorage. This resolves the problem for our users.

- So firstly is this a known issue, as of 7.1.3 that issue still remains.
- If a fix is welcome, where should I submit a pull request for the 
src/main/static/js/cas.js file?

Cheers.
Mark

-- 
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/50cf5a86-5e00-45d9-89a1-bdf5c606bf60n%40apereo.org.

Reply via email to