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

Does not save its own cookie on AWS amplify #127

Open
JanEricNitschke opened this issue Nov 20, 2022 · 1 comment
Open

Does not save its own cookie on AWS amplify #127

JanEricNitschke opened this issue Nov 20, 2022 · 1 comment

Comments

@JanEricNitschke
Copy link

I do not really know whats going on there. I have a small application that i build with angular and am hosting as is via amplify.

Here it is on amplify https://main.d225v44fsxss8s.amplifyapp.com/explanation and here is the code on GitHub https://github.com/JanEricNitschke/AngularFightAnalyzer.

Everything works fine when i run it locally with ng serve. I can react to the events on the banner and i can see the banner store the setting in a cookie and it stays hidden when i reload the page. However on Amplify i can still react to the events and store my own cookie however ngx-cookieconsent does not store its own setting and so pops up on every page reload.

@zolcsi
Copy link

zolcsi commented Apr 20, 2023

Have you checked, that the cookie/domain is correctly set in the config?

cookie: {
    domain: 'your domain name'
}

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

2 participants