omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

Support for tokens / secrets in database #1109

Closed liquidscorpio closed 6 years ago

liquidscorpio commented 6 years ago

Is it possible to store tokens in database instead of settings.py? By tokens, I mean back-end specific configuration variables like:

// Similarly for others too
SOCIAL_AUTH_FACEBOOK_KEY
SOCIAL_AUTH_FACEBOOK_SECRET

I am trying to support a use case where these values are specific to each tenant in a multi-tenant environment.

dblado commented 6 years ago

Did you figure this out?