My google auth button was working fine before I migrated to using create-react-app. when I switch to CRA, the form is not being submitted to the server and instead it seems like the app is pushing the new path in the action
attribute to the history. Does CRA automatically disables form submission somehow? is there a work around? Thanks!
this is the form:
<form method="get" action="/aoth/google" className="google-form">
<input type="submit" className="google-login" value="Google+" />
</form>
Here's a simple snippet showing how to handle form submission. Hope that helps.