OAuth2 error message is shown when the form is submitted