zulip/puppet
Luke Faraone 3948e1673d [manual] Accept OAuth2 tokens for API login via Google Apps
This is used by the Android app to authenticate without prompting for a
password.

To do so, we implement a custom authentication backend that validates
the ID token provided by Google and then tries to see if we have a
corresponding UserProfile on file for them.

If the attestation is valid but the user is unregistered, we return that
fact by modifying a dictionary passed in as a parameter. We then return
the appropriate error message via the API.

This commit adds a dependency on the "googleapi" module. On Debian-based
systems with the Zulip APT repository:
    sudo apt-get install python-googleapi

For OS X and other platforms:
    pip install googleapi

(imported from commit dbda4e657e5228f081c39af95f956bd32dd20139)
2014-01-13 13:30:55 -05:00
..
puppet-apt puppet-apt: Fix missing owner/group for created files. 2013-11-13 21:47:14 -05:00
puppet-common [manual] Move puppet modules to the top level 2013-10-30 15:42:26 -04:00
zulip [manual] restart-server: Minimize downtime for message sender worker. 2013-12-19 17:21:23 -05:00
zulip_internal [manual] Accept OAuth2 tokens for API login via Google Apps 2014-01-13 13:30:55 -05:00
apt [manual] Move puppet modules to the top level 2013-10-30 15:42:26 -04:00
common [manual] Move puppet modules to the top level 2013-10-30 15:42:26 -04:00