mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-10 00:42:06 +00:00
Implement support for Oauth2 based login integrations
This creates Google, Github, Microsoft and Facebook login integrations. Other providers can also be added if needed. Accounts still need to be created in the community auth system, and will be automatically created on first login, when the user also gets to pick a username. Once an account exists, it will be matched on email address from the external systems. No methods are enabled by default, as they all require encryption keys and identities configured in local_settings.py. Review by Stephen Frost, Jonathan Katz and Daniel Gustafsson.
This commit is contained in:
@ -172,6 +172,7 @@ VARNISH_PURGERS=() # Extra servers that can
|
||||
LIST_ACTIVATORS=() # Servers that can activate lists
|
||||
ARCHIVES_SEARCH_SERVER="archives.postgresql.org" # Where to post REST request for archives search
|
||||
FRONTEND_SMTP_RELAY="magus.postgresql.org" # Where to relay user generated email
|
||||
OAUTH={} # OAuth providers and keys
|
||||
|
||||
# Load local settings overrides
|
||||
from settings_local import *
|
||||
|
Reference in New Issue
Block a user