1) let a third party handle authentication (Code)
2) let a third party handle authentication (SSO)
Number 1: don't do that Number 2: Only do that if you are in control of SSO, or if you are very certain you won't have problems contacting the provider. (so not google in this case)