Skip to content

Conversation

@frectonz
Copy link

@frectonz frectonz commented Aug 14, 2025

This PR introduces support for the returnCookies field, which behaves similarly to the returnHeaders field. When enabled, the returnCookies field will parse all the cookies set by an endpoint and return them.

This feature is particularly useful for individuals using better auth as a server-only library. It allows them to avoid manually parsing the set cookie headers when they want to set them themselves via their preferred web framework.

better-auth/better-auth#3851

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.

1 participant