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: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@ztanner
Comment options

@ehis
Comment options

@ztanner
Comment options

Answer selected by ehis
@ehis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants