This project rocks and uses MIT-LICENSE.
Skeleton project for authentication. Uses Google, Yandex, Mail_Ru oauth2 services to authenticate users. Response is json.