@@ -0,0 +1,2518 @@
+import astrometry.net.secrets.auth as authsecrets%0A%0A# The namespace for social authentication is horrible.%0A%0A# This uses the Python Social Auth module,%0A#  http://python-social-auth-docs.readthedocs.io/en/latest/configuration/settings.html%0A# which was derived from the django-social-auth module.%0A%0A%0ASOCIAL_INSTALLED_APPS = (%0A    'social_django',%0A)%0A%0ASOCIAL_AUTH_BACKENDS = (%0A    'social_core.backends.google.GoogleOAuth2',%0A    'social_core.backends.twitter.TwitterOAuth',%0A    'social_core.backends.yahoo.YahooOpenId',%0A    'social_core.backends.github.GithubOAuth2',%0A    'social_core.backends.flickr.FlickrOAuth',%0A    #'django.contrib.auth.backends.ModelBackend',%0A)%0A%0ASOCIAL_TEMPLATE_CONTEXT_PROCESSORS = (%0A    'social_django.context_processors.backends',%0A    'social_django.context_processors.login_redirect',%0A)%0A%0A# SOCIAL_MIGRATION = %7B%0A#     'default': 'social.apps.django_app.default.south_migrations'%0A#     %7D%0A%0A# SOCIAL_AUTH_STRATEGY = 'social.strategies.django_strategy.DjangoStrategy'%0A# SOCIAL_AUTH_STORAGE = 'social.apps.django_app.default.models.DjangoStorage'%0A%0ASOCIAL_AUTH_GOOGLE_OAUTH2_KEY    = authsecrets.google.key%0ASOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = authsecrets.google.secret%0ASOCIAL_AUTH_GOOGLE_OAUTH2_SCOPE = %5B'openid', 'email'%5D%0A%0A# dstn can't figure out how to get user's email addr from flickr.  Argh!%0ASOCIAL_AUTH_FLICKR_KEY    = authsecrets.flickr.key%0ASOCIAL_AUTH_FLICKR_SECRET = authsecrets.flickr.secret%0ASOCIAL_AUTH_FLICKR_SCOPE = %5B'openid', 'email'%5D%0A### I was getting a Flickr SSL verification error...%0ASOCIAL_AUTH_FLICKR_VERIFY_SSL = False%0A%0Agithub_secrets = authsecrets.githubs%0A%0A# SOCIAL_AUTH_GITHUB_KEY    = authsecrets.githubs%5Bsitename%5D.key%0A# SOCIAL_AUTH_GITHUB_SECRET = authsecrets.githubs%5Bsitename%5D.secret%0A# #SOCIAL_AUTH_GITHUB_SCOPE = %5B'openid', 'email'%5D%0ASOCIAL_AUTH_GITHUB_SCOPE = %5B'user:email'%5D%0A%0A# dstn can't figure out how to get user's email addr from twitter.  Argh!%0A# https://twittercommunity.com/t/how-to-get-email-from-twitter-user-using-oauthtokens/558/74%0ASOCIAL_AUTH_TWITTER_KEY    = authsecrets.twitter.key%0ASOCIAL_AUTH_TWITTER_SECRET = authsecrets.twitter.secret%0ASOCIAL_AUTH_TWITTER_SCOPE = %5B'email'%5D%0A#SOCIAL_AUTH_TWITTER_SCOPE = %5B'user:email'%5D%0A%0A# Key not working.... keep getting 401 auth req'd, with message oauth_problem=consumer_key_rejected%0A%0A# SOCIAL_AUTH_YAHOO_OAUTH_KEY    = authsecrets.yahoo.key%0A# SOCIAL_AUTH_YAHOO_OAUTH_SECRET = authsecrets.yahoo.secret%0A# SOCIAL_AUTH_YAHOO_OAUTH_VERIFY_SSL = False%0A%0ASOCIAL_AUTH_RAISE_EXCEPTIONS = True%0A%0A#SOCIAL_AUTH_USERNAME_IS_FULL_EMAIL = True%0A%0A

add settings for python-auth-social