Skip to content

How can I set a cookie after calling auth.authenticate? #217

Answered by sergiodxa
andersr asked this question in Q&A
Discussion options

You must be logged in to vote

Check https://sergiodxa.com/articles/add-returnto-behavior-to-remix-auth, you will have to catch the thrown response to append the Set-Cookie header.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nathankirk91
Comment options

Answer selected by sergiodxa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants