jaliss / securesocial

A module that provides OAuth, OAuth2 and OpenID authentication for Play Framework applications
http://www.securesocial.ws
Apache License 2.0
1.19k stars 510 forks source link

Add extraInfo to BasicProfile #558

Closed k4200 closed 6 years ago

k4200 commented 9 years ago

Some providers provide extra information not contained in BasicProfile, and we sometimes want to use that. This PR adds an extraInfo field to BasicProfile.

An example of usage of this change is here: https://github.com/k4200/securesocial/commit/26fb682d65fee82de100ec47490b3911f3e6ddf7

Thanks.

k4200 commented 8 years ago

I also use this for GitHubProvider: https://github.com/k4200/securesocial/commit/942bf215aefd9d16bfa45ea1f2ee5e3672a3474f