The Wayback Machine - https://web.archive.org/web/20220118094134/https://github.com/dotnet/aspnetcore/issues/39597
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

Allow customization of cookie consent value for more flexibility #39597

Open
1 task done
msschl opened this issue Jan 18, 2022 · 0 comments
Open
1 task done

Allow customization of cookie consent value for more flexibility #39597

msschl opened this issue Jan 18, 2022 · 0 comments

Comments

@msschl
Copy link
Contributor

@msschl msschl commented Jan 18, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

We are setting the consent cookie for the eTLD+1 with the value 1 if the user agreed with an expiration of 1 year and with the value -1 with an expiration for the session when the user disagreed. This kind of flexibility is currently not possible with the build-in cookie consent feature of asp net core.

Describe the solution you'd like

A way to customize the validation of the HasConsent in the ResponseCookiesWrapper

Additional context

No response

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

Successfully merging a pull request may close this issue.

None yet
1 participant