Supabase auth NextJs why action?

in the supabase auth docs https://supabase.com/docs/guides/auth/server-side/nextjs?queryGroups=router&router=app

In the login page, why should we use a server action for login instead of using the Supabase frontend client thats created in the beginning of that doc?
Screenshot_2025-01-04_at_11.17.56_AM.jpg
Was this page helpful?