Skip to content

Shouldn't the Server Action fetch have an option to include credentials? #72912

Discussion options

You must be logged in to vote

same-origin (the default): only send and include credentials for same-origin requests.

Since server actions POST to the same origin, they are included by default.

Replies: 2 comments 16 replies

Comment options

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

Answer selected by therealgilles
Comment options

You must be logged in to vote
15 replies
@icyJoseph
Comment options

@therealgilles
Comment options

@icyJoseph
Comment options

@therealgilles
Comment options

@icyJoseph
Comment options

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