Google redirects to "not found" page

When I use social login for Google (the client ID and the Client secret codes are correct). It takes me to this page:

How do I fix this?

Please try refreshing permalinks in Settings/Permalinks, set any non-default structure. Also, make sure that you set the correct Redirect URL in the Google settings (you can copy it in HivePress/Settings/Users/Authentication).