Created
July 27, 2014 02:36
-
-
Save syakesaba/30f1e66132cedef8c1a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def _callback_uri_for(self, provider): | |
| if (provider in secrets.AUTH_CONFIG.keys()): | |
| if provider == "google": | |
| return "https://paper-mobile.appspot.com/auth/google/callback" | |
| return self.uri_for('main', provider=provider, _full=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment