Skip to content

Redirect in middleware when request is a server action fails with "failed to forward action response" #64993

Closed Answered by ztanner
ehis asked this question in Help
Discussion options

You must be logged in to vote

@ehis, yep, no need to handle in middleware! You can think of it similar to an API route where you'd have the auth check at the top of the request handler.

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@ehis
Comment options

@ztanner
Comment options

@ehis
Comment options

@ztanner
Comment options

Answer selected by ehis
@ehis
Comment options

@Enzo-PVsyst
Comment options

@harsha-at-magicshake
Comment options

@Daniel-Ash
Comment options

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
Help
Labels
None yet
7 participants