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

[NextJs] Add attributes to 'sc_site' cookie #1746

Merged
merged 6 commits into from
Feb 23, 2024
Merged

[NextJs] Add attributes to 'sc_site' cookie #1746

merged 6 commits into from
Feb 23, 2024

Conversation

yavorsk
Copy link
Contributor

@yavorsk yavorsk commented Feb 21, 2024

Description / Motivation

This PR provides the option for the developer to add attributes to the sc_site cookie: secure, httpOnly, expires, sameSite

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate) Verify that sc_site cookie has provided attributes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@yavorsk yavorsk requested a review from a team February 21, 2024 09:42
…ult attributes in the middleware; adjust unit tests
Copy link
Contributor

@ambrauer ambrauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address 2 comments, otherwise looks good!

CHANGELOG.md Outdated Show resolved Hide resolved
@yavorsk yavorsk changed the title [NextJs] [templates/nextjs-multisite] Add attributes to 'sc_site' cookie [NextJs] Add attributes to 'sc_site' cookie Feb 23, 2024
@yavorsk yavorsk merged commit c0854be into dev Feb 23, 2024
1 check passed
@yavorsk yavorsk deleted the feature/JSS-837 branch February 23, 2024 08:29
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

Successfully merging this pull request may close these issues.

3 participants