Skip to content

Use in next-auth project #5

@recdatadevsk

Description

@recdatadevsk

Hi,
I like your package, but how do I use it in next-auth.
I get this error when I try to use it:

Error: Cookies can only be modified in a Server Action or Route Handler.

I made a minimum version of my code to reproduce the error:
this is the code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions