Skip to content

Commit

Permalink
Merge pull request #89 from catalinvr/features/google_auth
Browse files Browse the repository at this point in the history
Update google authentication documentation
  • Loading branch information
mtesauro committed Apr 26, 2020
2 parents 8617fcc + 9eedcdd commit d64562c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/social-authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ In the **Authentication** section of settings.py, set **DD_GOOGLE_OAUTH_ENABLED*

.. image:: /_static/google_5.png

To authorize users you will need to set the following:

* SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS = ['example.com', 'example.org']

or

* SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS = ['email@example.com']

.. _Google Developers Console: https://console.developers.google.com


Expand Down

0 comments on commit d64562c

Please sign in to comment.