Added ability to ignore cert for oauth2 provider (#971)

* Added ability to ignore cert for oauth2 provider

This is useful for development environments where the OAuth provider
doesn't have a valid cert!

* Setting default for OAUTH2_VERIFY_CERT to true
This commit is contained in:
Johannes Langer
2017-10-21 01:36:14 +02:00
committed by kevgliss
parent 14f5340802
commit 9319dda0ec
2 changed files with 12 additions and 4 deletions

View File

@ -496,6 +496,13 @@ For more information about how to use social logins, see: `Satellizer <https://g
OAUTH2_AUTH_ENDPOINT = "https://<youroauthserver>/oauth2/v1/authorize"
.. data:: OAUTH2_VERIFY_CERT
:noindex:
::
OAUTH2_VERIFY_CERT = True
.. data:: GOOGLE_CLIENT_ID
:noindex: