So I am currently writing a login and respectively a signup features for my Go web App and I am attempting to implement a feature that if you don\'t fill out both the required f
You can not send multiple responses to the same request (first the validation error (403 but 400 would be better) and then the redirection (301, ...)).
You could use a meta tag or javascript to redirect on the client side after an delay or directly use the http redirect, like
<meta http-equiv="refresh" content="3; URL=https://your.site/">