Skip to content

Commit

Permalink
Merge pull request #21 from fvgoto/patch-1
Browse files Browse the repository at this point in the history
config setting missing SOCIAL_AUTH_-prefix
  • Loading branch information
omab committed May 20, 2017
2 parents b6b881a + f02a3c8 commit c6638a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ version, etc).
You can send extra parameters on auth process by defining settings per backend,
example to request Facebook to show Mobile authorization page, define::

FACEBOOK_AUTH_EXTRA_ARGUMENTS = {'display': 'touch'}
SOCIAL_AUTH_FACEBOOK_AUTH_EXTRA_ARGUMENTS = {'display': 'touch'}

For other providers, just define settings in the form::

Expand Down
4 changes: 2 additions & 2 deletions docs/use_cases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ In some cases, you might need to send data over the URL, and retrieve it while
processing the after-effect. For example, for conditionally executing code in
custom pipelines.

In such cases, add it to ``FIELDS_STORED_IN_SESSION``.
In such cases, add it to ``SOCIAL_AUTH_FIELDS_STORED_IN_SESSION``.

In your settings::

FIELDS_STORED_IN_SESSION = ['key']
SOCIAL_AUTH_FIELDS_STORED_IN_SESSION = ['key']

In template::

Expand Down

0 comments on commit c6638a1

Please sign in to comment.