rabser / moodle-auth_googleoauth2

Oauth2 authentication plugin for Moodle (for Moodle 3.2 and earlier)
GNU General Public License v3.0
78 stars 78 forks source link

Add Twitter #54

Open satdav opened 10 years ago

satdav commented 10 years ago

Hello can you please support twitter login also for people who use twitter

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

mouneyrac commented 10 years ago

twitter uses a different protocol (Oauth1). But I may add it, leaving this issue opened for it.

mouneyrac commented 9 years ago

Twitter seems to support Oauth2, I just check the docs.

satdav commented 9 years ago

@mouneyrac can you add this or ask a college to do it

mouneyrac commented 9 years ago

Sorry satdav at the moment I don't have the time for developping, neither reviewing it. However you can find alternative of this plugin in moodle.org plugin repository. I remember seen some with twitter. Otherwise maybe some people who forked this plugin did implement the feature too. Cheers, Jerome

mouneyrac commented 9 years ago

I am thinking using https://github.com/thephpleague/oauth1-client to support twitter. If anyone is interested by implementing it, let me know. I am currently cleaning the plugin in the dev branch to use the Oauth2 PHPLeague library. t would probably be a good timing to add the Oauth1 PHPLeague library too. The goal of this "rewrite" is to clean the code as much of possible of most of the redundancy in the code, and also to allow easy implementation of a new provider.

mouneyrac commented 9 years ago

actually I think twitter may be working for just authentication (it is more limited than there oauth1 implementation thought): https://dev.twitter.com/oauth/application-only