New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect Mobile "UAM" window and autoredirect #155

Open
timwhite opened this Issue May 14, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@timwhite
Copy link
Contributor

timwhite commented May 14, 2016

When a mobile device opens a login window (like Android does with it's generate_204), it's waiting for that 204 to be issued to know to close the window. Status windows don't make much sense on these devices either.

We can detect based on the userurl, and the user agent if this is a UAM window, and then automatically redirect after successful login. This does mean the user won't see their limits. We may need to make this feature optional (#130)

                    if (userurl.match(/(generate_204)/)) {
                        window.location.href = userurl;
                    }

@timwhite timwhite added this to the 3.8.1 milestone May 14, 2016

@timwhite timwhite self-assigned this May 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment