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

Auth Server SDK: Stores new auth material cookies #817

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

AlbertoElias
Copy link
Contributor

Description

Following the SSR doc, we needed a helper to store the cookies server-side. If a response is added to getSession this is done automatically. If not, we provide a storeAuthMaterial helper to do so.

Test plan

Added tests and also tried in local node, express and remix apps.

Package updates

react-ui: patch
common-auth: patch
server-sdk: minor

Copy link

changeset-bot bot commented Oct 17, 2024

🦋 Changeset detected

Latest commit: c42899c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@crossmint/common-sdk-auth Patch
@crossmint/server-sdk Minor
@crossmint/client-sdk-react-ui Patch
@crossmint/client-sdk-auth Patch
@crossmint/server-sdk-next-starter Patch
@crossmint/client-sdk-react-ui-starter Patch
@crossmint/client-sdk-nextjs-starter Patch
@crossmint/client-sdk-smart-wallet-next-starter Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
smart-wallet-auth-demo ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 2:24pm

@AlbertoElias AlbertoElias changed the title Stores new auth material cookies Auth Server SDK: Stores new auth material cookies Oct 17, 2024
@AlbertoElias AlbertoElias force-pushed the albertoe/WAL-3060-auth-ssr-set-cookies branch from 40421e2 to c42899c Compare October 17, 2024 14:24
Copy link
Contributor

@afeight afeight left a comment

Choose a reason for hiding this comment

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

cool!

@AlbertoElias AlbertoElias merged commit fe06a3e into main Oct 22, 2024
4 checks passed
@AlbertoElias AlbertoElias deleted the albertoe/WAL-3060-auth-ssr-set-cookies branch October 22, 2024 17:59
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