Skip to content

Commit

Permalink
docs: add cookies section in v5 migration (nextauthjs#11722)
Browse files Browse the repository at this point in the history
* Add cookie documentation migrating-to-v5.mdx

Some projects might use the cookies in a middleware. It is important to mention the refactor.

* formatting

---------

Co-authored-by: Thang Vu <hi@thvu.dev>
  • Loading branch information
Nubebuster and ThangHuuVu authored Aug 31, 2024
1 parent b6e4e4a commit 6377582
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/pages/getting-started/migrating-to-v5.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ export type {

</Steps>

## Cookies

- The `next-auth` prefix is renamed to `authjs`.

## Summary

We hope this migration goes smoothly for everyone! If you have any questions or get stuck anywhere, feel free to create [a new issue](https://github.com/nextauthjs/next-auth/issues/new) on GitHub, or come chat with us in the [Discord](https://discord.authjs.dev) server.

0 comments on commit 6377582

Please sign in to comment.