Clarity on server actions action Ids changes in next.js 15 #73098
Replies: 2 comments 3 replies
-
I asked about this on reddit and was pointed here: https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations#overwriting-encryption-keys-advanced It would be great to see some documentation on how and when the endpoint IDs change. It would be a shame to deploy a change and break clients that haven't refreshed yet. |
Beta Was this translation helpful? Give feedback.
-
When |
Beta Was this translation helpful? Give feedback.
-
From the new next.js 15 blog release it looks like in the server actions security section there is a snippet saying
Does this mean that the IDs will be recalculated at runtime and change in production? Or per build? And can there be some added detail on how this is adding security (maybe security through obscurity?). I believe the action IDs are quite random today (just a checksum of the code AFAIK).
Beta Was this translation helpful? Give feedback.
All reactions