Skip to content
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

Keep browser opened after connection is allowed #281

Open
iffifan opened this issue Jul 12, 2017 · 8 comments
Open

Keep browser opened after connection is allowed #281

iffifan opened this issue Jul 12, 2017 · 8 comments

Comments

@iffifan
Copy link

iffifan commented Jul 12, 2017

Hello,

We are facing this issue. When a user connects and is authenticated by auth server, browser window is closed automatically on android 5+. We want to keep it open so that we can show some advertisement after user is authenticated.

Any idea?

@gareth41
Copy link

gareth41 commented Jul 12, 2017 via email

@nextwi
Copy link

nextwi commented Jul 12, 2017

@iffifan I think this is related to device manufacturer an how they deal with captive portal.

@iffifan
Copy link
Author

iffifan commented Jul 17, 2017

@Tr4cer0ute Can we fix it with firmware? I am ready to pay if anyone can help.

@lgaitan
Copy link

lgaitan commented Jul 17, 2017

@iffifan You simply have to change how your authenticator works.

The gateway will check with the authenticator if user is already logged in, if so, it will enable futher connections.
Since the device now is able to access the internet, the OS knows the user has logged in and then closes the page.

You just have to change your authenticator behaviour, by only answering the user status after some seconds or after some user action.

@iffifan
Copy link
Author

iffifan commented Jul 20, 2017

@lgaitan
I understand what you mean.
We allow internet after user accepts terms and conditions.
Now if you are saying that we should show ads before allowing internet then it is possible but we also want user to navigate to ad website. So I think it is not about when we allow internet. If browser is closed when internet access is provided then it is an issue. because we want user to have browser opened even after authentication.

@gareth41
Copy link

gareth41 commented Jul 20, 2017 via email

@imnobodyet
Copy link

@iffifan faced the same problem here, i used a solution to prevent auto portal poping up(it's a system window not a browser), so that users must open a browser to navigate to the portal page, and the browser won't close itself after login.

@JJEU
Copy link

JJEU commented Apr 24, 2018

see my comment here #287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants