OAuth (The Open Authorization standard) allows users to grant access to 3rd-party websites and applications:
https://www.youtube.com/watch?v=zEysfgIbqlg