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

Cannot accept consent when tunneling traffic through Ngrok #31

Open
RalpinMcDjango opened this issue Feb 16, 2024 · 0 comments
Open

Cannot accept consent when tunneling traffic through Ngrok #31

RalpinMcDjango opened this issue Feb 16, 2024 · 0 comments

Comments

@RalpinMcDjango
Copy link

RalpinMcDjango commented Feb 16, 2024

I'm currently having an issue with this library in a Laravel 10 application.

The issue is that on both Android and iOS accepting the cookie consent when my local development traffic is tunneled through Ngrok doesn't do anything, the consent box will not disappear.

I Might be missing something basic but i have updated to the latest version of the library 1.1.0. I have tried changing the APP_URL in my .env file to the Ngrok domain i'm given and I've also tried updating the domain in the cookieconsent.php file, nothing yet has fixed this.

The consent pop-up displays and closes as expected on my Windows and Linux desktop browsers when traffic is tunneled through Ngrok but the cookie is not set.

Steps to reproduce:

  • Install any version of this library
  • Tunnel traffic through Ngrok
  • Open the application on a mobile phone web browser
  • Press the "Accept all" or "Only essentials" buttons

Any help or suggestions are much appreciated.

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

1 participant