Loading video...

Video Failed to Load

Go Home

Server Actions create public endpoints, so be sure to secure them like you would API routes.

83,592 views • 1 year ago •via X (Twitter)

10 Comments

Dobroslav Radosavljevič's profile picture
Dobroslav Radosavljevič1 year ago

This is one of the things most developers don't know I think. They don't see the line between client and server. When Server Actions were introduced in Next.js, a lot of devs made a big mistake and got leaked server code or got abused by hackers because they didn't even know this.

Max Greenwald's profile picture
Max Greenwald1 year ago

Server actions are an unnecessary addition to the React API surface area. I won't be using them.

Naif Alotaibi's profile picture
Naif Alotaibi1 year ago

useless feature i guess nextjs created because they dont have product ideas😂😂😂😂😂😂😂

Amit Wani's profile picture
Amit Wani1 year ago

I think there are useless?

Remy Jouni's profile picture
Remy Jouni1 year ago

What is the best way to secure an API route?

Alex Sidorenko's profile picture
Alex Sidorenko1 year ago

auth

Aardvark Erickson's profile picture
Aardvark Erickson1 year ago

Wish they were executed at a known path, and not current route. Kinda makes middleware useless for them.

Edu BL's profile picture
Edu BL1 year ago

A feature that I don't see it using it at the moment considering that I could use nestjs, fastapi, etc

M. Adel's profile picture
M. Adel1 year ago

would a middleware, e.g. supabase, solve this issue?

Jaehyu Lee's profile picture
Jaehyu Lee1 year ago

How do I find that endpoint ?

Related Videos

I sure like the way you think would you be my girlfriend?
1:23

Sensitive content

I sure like the way you think would you be my girlfriend?

Sebastian™

36,458 views • 8 months ago