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

adds SESSION_DOMAIN for specifying the domain to set on session cookies #89

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

DavidLarsKetch
Copy link
Collaborator

In order for Portal's cookie to be sent in requests to connect.xyplanningnetwork.com, we need to set the cookie for our root xyplanningnetwork.com domain. Thataways, event handlers for Find an Advisor features can be aware of currentUser (cf. Notion ticket).

This PR adds SESSION_DOMAIN for enabling this configuration.

@DavidLarsKetch
Copy link
Collaborator Author

DavidLarsKetch commented Oct 22, 2024

Pending college-try PR for reference.

college-try: https://github.com/xy-planning-network/college-try/pull/1527

Copy link
Collaborator

@steven-klein steven-klein left a comment

Choose a reason for hiding this comment

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

LGTM. I configured my local environment with this branch and #1527 and was able to observe a session cookie set on .xyplanningnetwork.test and the currentUser was set in the page props.

@DavidLarsKetch DavidLarsKetch merged commit 71b38df into main Oct 29, 2024
1 check passed
@DavidLarsKetch DavidLarsKetch deleted the dlk/cookie-domain branch October 29, 2024 16:46
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.

2 participants